Random Posted March 25, 2003 Share Posted March 25, 2003 Hi. My dad and I have a router, I unplugged it to see if Apache would run on it when I had entered my IP...and it did, after I plugged the router back in, my server didnt work. How do I make it work? IP: 12.218.218.190 Router IP: 192.168.0.100 Thanks for the help. Quote Link to comment https://forums.phpfreaks.com/topic/264-how-do-i-keep-a-server-behind-a-router/ Share on other sites More sharing options...
Random Posted March 25, 2003 Author Share Posted March 25, 2003 ok update. This is what it says now when I try to start apache: (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:80. Unable to open log Quote Link to comment https://forums.phpfreaks.com/topic/264-how-do-i-keep-a-server-behind-a-router/#findComment-788 Share on other sites More sharing options...
Nicat23 Posted April 4, 2003 Share Posted April 4, 2003 Random: If you\'re running a *nix machine then as long as the server is started then you should be able to access the webserver from inside your lan by typing in http://whatevertheservername or http://whatevertheipoftheserveris To be able to access it from outside your lan then you need to go in and map the port on the router to whatever the ip address is of the webserver.. for example you could do something like this.. I have a netgear router.. Port 80 to 10.20.30.5 it depends on what type of router you have as to how to map the ports.. but it\'s not that hard Quote Link to comment https://forums.phpfreaks.com/topic/264-how-do-i-keep-a-server-behind-a-router/#findComment-948 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.