How can I run a web server behind a router at home? The router has NAT addressing, so each computer's IP address is not visible outside the network.
Printable View
How can I run a web server behind a router at home? The router has NAT addressing, so each computer's IP address is not visible outside the network.
My Linksys router has Port Forwarding, so you can specify a port number (say 8080), and have it forward packets to a certain machine on the internal network, like 192.168.1.101.
So let's say my machine is 192.168.0.100, and my @Home address is 24.1.2.3. If I have Apache running on my machine on port 8081 (my JSP compiler, Tomcat, uses 8080), can I make it so all requests to 24.1.2.3:8081 go to 192.168.0.100:8081?
BTW, I have the D-Link DI-704 router.
I guess its a hardware router then? Software is so much easier for this :rolleyes:
yeah, I think the D-Link's work this way as well. Check the manual for Port Mapping and Virtual Services, somewhere in there is a way to configure the router the way you've outlined.Quote:
Originally posted by filburt1
So let's say my machine is 192.168.0.100, and my @Home address is 24.1.2.3. If I have Apache running on my machine on port 8081 (my JSP compiler, Tomcat, uses 8080), can I make it so all requests to 24.1.2.3:8081 go to 192.168.0.100:8081?
BTW, I have the D-Link DI-704 router.
ftp://ftp2.dlink.com/Gateway/di704/M...704_manual.pdf
I got as far as finding out that it's possible, but I didn't locate the directions in the manual.
Is this what I want?
I think I configured it properly (I made one line read 8081 for both textboxes). But when I enter my @Home IP like this: http://24.1.2.3:8081, it doesn't work. I am sure I configured Apache correctly. :mad:
Hmmm....the screen shot is saying "Trigger", and I think that's something else.
What about Port Mapping?
Here's what the Linksys page looks like. It can map a range of port numbers to an internal IP. I usually just the starting and ending port number as the same thing, since I only need to map one port for each of these machines.
http://161.58.186.97/attachment.php?s=&postid=481028
Never mind, I FINALLY got it (it was that page, and the manual just wasn't very good :rolleyes: ), hence my Yeah! I AM THE MAN! thread. :D