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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't get responce from apache on port 80 but 8080 is O.K.???

Status
Not open for further replies.

JaybOt

Programmer
Apr 18, 2001
101
GB
Hi all,

I have apache running on a unix server and every thing seem to work o.k. from my local network, but when i am at work or home and try to acces my server via is dynamic ip i get an error.

the strange thing is if i access the same ip address on 8080 i can get to my page o.k. I have setup the following config options ...

listen 192.168.0.1:80
listen 8080
bindaddress * (also tried bindaddress hostname:80)
port 80

It seems that i cannot acces my site on port 80 from internal hosts unless i have the 'listen 192.168.0.1:80' in my config and i can never get to my server from the outside world on port 80 but 8080 work.

The only other way i can get this to work is by adding a 'listen xx.xx.xx.xx:80' where the xx.xx.xx.xx is the dynamic ip i get when i connect.

I understood that apache will listen on all addresses and port 80 by default, so where am i going wrong?

I do not have a filewall but i do have entrys in my host.allow to allow my works ip address and local hosts to connect. This all works fine for telnet, ftp, ect. I am quite sure that i am NOT blocking tcp or any protocol on port 80.

Any help appreciated!

JayBot "Always know what you say, but don't always say what you know!"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top