logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Hardware & Networking View previous topic :: View next topic
Reply to topic   Topic: Apache with two network cards
Author
camster



Joined: 13 May 2013
Posts: 2
Location: UK

PostPosted: Mon 13 May '13 14:47    Post subject: Apache with two network cards Reply with quote

Hi,

Relative newbie to Apache and having some problems with the network configuration.

Running Windows Server 2008 64bit
Apache Tomcat/6.0.37

Server has 2 network cards:
NIC 1 - 137.223.x.x
NIC 2 - 10.7.x.x

On install Apache automatically takes NIC 1 IP and webserver runs perfectly.

Problem is we need Apache to run on the NIC 2 IP address and can't seem to force Apache to take NIC 2 IP during install or figure out how to add NIC 2 to the Apache configuration.

Have seen various posts regarding virtual ports and listeners but not sure on code to install or in which file.

Any support or guidance would be appreciated and thanks in advance.
Back to top
admin
Site Admin


Joined: 15 Oct 2005
Posts: 692

PostPosted: Mon 13 May '13 14:52    Post subject: Reply with quote

Did you try:

Listen 10.7.x.x:80
Back to top
camster



Joined: 13 May 2013
Posts: 2
Location: UK

PostPosted: Mon 13 May '13 15:02    Post subject: Reply with quote

Perfect!

I had spaces between the 10.7.x.x : 80

Thank you for the quick response and FIX!
Back to top


Reply to topic   Topic: Apache with two network cards View previous topic :: View next topic
Post new topic   Forum Index -> Hardware & Networking