Jump to content


Photo

How do I keep a server behind a router?


  • Please log in to reply
2 replies to this topic

#1 Random

Random
  • Members
  • PipPipPip
  • Advanced Member
  • 30 posts
  • LocationIndiana

Posted 25 March 2003 - 12:43 AM

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.

#2 Random

Random
  • Members
  • PipPipPip
  • Advanced Member
  • 30 posts
  • LocationIndiana

Posted 25 March 2003 - 01:42 AM

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

#3 Nicat23

Nicat23
  • New Members
  • Pip
  • Newbie
  • 4 posts
  • LocationFt Worth, TX

Posted 04 April 2003 - 03:40 PM

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 :)
-- Justin




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users