Asking a webpage from a homenetwork.

S

Steven Somers

Hello everybody,

I am just a junior programmer and I hope I am asking my question on the
right newsgroup...
At home I have two computers which are connected to the WAN by a router. The
router (which is the DHCP server) gives this two computers always the same
IP. So these IP's the router is giving, are not unique in the world, they
are just unique in my home network. The only unique IP is the IP from the
router which is connected to the WAN.
I made from one of my two computers a server and it is no problem for me to
ask a certain webpage on the computer with the server with my other computer
(which lays in the same home network). Indeed in my home network the two
computers have a unique IP, so I can just ask a certain webpage by the
following: "http://IPotherPCofHomeNetwork/directoryServer/certainWebpage".
Now, my question is: How can I ask the same wesbpage on my homecomputer if
I ask this webpage from another computer outside my homenetwork ??? Is this
something like the following: "http://IProuterConnectedWithWAN/...


Please, can anybody help me??? I am getting crazy of it ??
Many Thanks,
Steven.
 
S

Sleepless in Seattle

1. Change webserver to serve on port 81.
2. Give your web server a static IP address, i.e., if the router's DHCP
server assigns addresses from 192.168.1.33 to 192.168.1.64 then give the web
server a static IP address outside this range, e.g., 192.168.1.65.
3. Go to router configuration and forward port 81 to the web server address,
e.g., 192.168.1.65.
4. If the IP address given to the router by your ISP is dynamic you may want
to try http://www.no-ip.com/.

Remember to specify port 81 when accessing web pages.

http://IPotherPCofHomeNetwork/directoryServer/certainWebpage:81/
http://IProuterConnectedWithWAN:81/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top