photoworks Posted August 31, 2004 Report Share Posted August 31, 2004 :unsure: where on apache can i change the settings in order to access to my server from both local and outside ? currently, when i type http://pwks.no-ip.org/ from my machine it does not work. i have to type http://localhost/ from another computer, by entering the http://www.pwks.no-ip.org/ i have no problem accessing the server. Does anyone have an idea how to fix that issue ???? :unsure: Quote Link to comment Share on other sites More sharing options...
mte Posted August 31, 2004 Report Share Posted August 31, 2004 I think this is a NAT issue. I don't know exactly why but I know that this is not an apache specific thing if you can access the server from an xy pc with no problem. Somewhere I read that you can't access your server's WAN IP from your LAN. Quote Link to comment Share on other sites More sharing options...
fissy Posted August 31, 2004 Report Share Posted August 31, 2004 (edited) I think this is a NAT issue. I don't know exactly why but I know that this is not an apache specific thing if you can access the server from an xy pc with no problem. Somewhere I read that you can't access your server's WAN IP from your LAN. <{POST_SNAPBACK}> that depends on your router really... (some, probably cheaper ones, don't like forwaring the packet that has come from inside the network back inside the network using the port forwarding rules.) photoworks, a cheap trick to make it work would be to edit the /etc/hosts file, adding pwks.no-ip.org after localhost on the 127.0.0.1 line. Edited August 31, 2004 by fissy Quote Link to comment Share on other sites More sharing options...
photoworks Posted August 31, 2004 Author Report Share Posted August 31, 2004 (edited) where do you find /etc/hosts file ? Do they have specfic names ? Edited September 1, 2004 by photoworks Quote Link to comment Share on other sites More sharing options...
photoworks Posted September 2, 2004 Author Report Share Posted September 2, 2004 I think this is a NAT issue. I don't know exactly why but I know that this is not an apache specific thing if you can access the server from an xy pc with no problem. Somewhere I read that you can't access your server's WAN IP from your LAN. <{POST_SNAPBACK}> that depends on your router really... (some, probably cheaper ones, don't like forwaring the packet that has come from inside the network back inside the network using the port forwarding rules.) photoworks, a cheap trick to make it work would be to edit the /etc/hosts file, adding pwks.no-ip.org after localhost on the 127.0.0.1 line. <{POST_SNAPBACK}> i edited the files and now it works fine, i can have access to my server by entering my address : http://pwks.no-ip.org/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.