Click to See Complete Forum and Search --> : Access a machine inside a network from outside
Rickead2000
06-12-2003, 09:47 AM
Hi,
I am trying to connect to the apache webserver on port 80 on a linux machine inside my network. Is it possible to access this machine via a web browser on a computer not inside the network. And if so, how?
Thanks
mchangun
06-12-2003, 09:59 AM
Is your network using a Linksys router (or any simple home use router). If so, this is how you do it.
You'll need to set port forwarding on the router for port 80. Forward the port to the internal IP number of you webserver. Then to access it, you need to point your web browser to your external IP.
btw, i haven't gotten mine to work, but i THINK this is the way to do it.
Rickead2000
06-12-2003, 10:04 AM
At the moment, my connection is coming into a windows box, which is shared to the linux box via a switch.
Is it still possible to do? Or should I invest in a router?
mchangun
06-12-2003, 10:05 AM
I'm pretty sure it is, but i don't know how =). Obviously, the port forwarding will have to be set on that windows box instead of the router i mentioned.
Originally posted by Rickead2000
At the moment, my connection is coming into a windows box, which is shared to the linux box via a switch.
-Exactly what kind of connection?
-Which version of Windows (also specify Home, Professional, Server, etc. if applicable)?
- How are you sharing the connection? ICS on Win box?
mage492
06-13-2003, 05:28 AM
Depending on your ISP, they've probably blocked port 80. There are two things you can do, I think.
You can set it so (from outside), you're connecting to some bizarre port (usually 6000+) that isn't blocked. Then, have that port routed to port 80 on your server. Your address will now be ###.###.###.###:[port number]
You can tell Apache to use a bizarre port. Again, this means you have to specify the port in the address.
That may or may not be the problem. I know many of them block ports, though. Oh, 8080's usually not going to work, either (it's a popular one).