Stand alone webapp listening on second ip on same server

I have a server with two ip address in the same interface, how i can do a standalone webapp listen in the second ip. I have apache running in the first ip on port 80, i need the webapp listen in the second ip in the port 80.


Bind it to the second network interface, see the docs about command line arguments.

I will say however you should use a reverse proxy and not map apps directly to IP addresses as that is a considerable waste of an address.