Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Responding to ports other than port80

Status
Not open for further replies.

andytb

Technical User
Jul 13, 2005
1
GB
Hello all,

We currently have an Apache2 setup behind a small LAN that is configured to response to requests on port80 (basically the default configuration with a few directories changed).

I need to have the server respond to request on a port other than 80 (because of some issues with the routers on the netwrok). I have changed the LISTEN directive and restarted the server but this doesn't seem to have the desired effect.

Can anybody tell me what I need to do to have the Apache server respond to requests on port 81 (or any other port)?

Many thanks,
 
You can have apache listen on port 81 all day long but if the router doesn't send http requests to the server on that port, it ain't gonna hear nothin'.
 
Don't forget that if apache is listening on port 81, your url must specify the port explicitly, or your routers must redirect to that port.

Ex:


the http:// is required for ie if using a port other than 80, it is optional for mozilla

Jeb Beasley
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top