Not another programming but
-
How does a router work? I share hi-speed with three other computers in my house all of each are connected to THE router. The reason I ask I because...i've installed MySQL/PHP on one box and host my web site from that computer. If I try localhost on that machine it works fine...if I try xxx.xxx.xxx.xxx IP address (that I get from ipconfig) it also works...if I got to another machine and try that same IP it works there too, but when anyone outside the router tries...like a friend...then don't get access...so I'm assuming it has something to do with the router... each node on my LAN in my house IP address differs by only the last digit and by one... Why is the router doing this...? Is it even the router? Anyone know of any docs that might be of help? Thanks :) The word of the day is legs, let's go back to my house and spread the word ;P
-
How does a router work? I share hi-speed with three other computers in my house all of each are connected to THE router. The reason I ask I because...i've installed MySQL/PHP on one box and host my web site from that computer. If I try localhost on that machine it works fine...if I try xxx.xxx.xxx.xxx IP address (that I get from ipconfig) it also works...if I got to another machine and try that same IP it works there too, but when anyone outside the router tries...like a friend...then don't get access...so I'm assuming it has something to do with the router... each node on my LAN in my house IP address differs by only the last digit and by one... Why is the router doing this...? Is it even the router? Anyone know of any docs that might be of help? Thanks :) The word of the day is legs, let's go back to my house and spread the word ;P
The IP Addresses you are trying are probably the local (private) ip addresses. What you need to do is setup the router to "route" your public IP address to the PC that is hosting your website. When it is all setup the following will be true: 1. From the PC itself you could access the Web Site using "LOCALHOST" 2. From other PCs in the network you could access the website using "192.168.0.xxx" (or whatever your internal IPs are) 3. From the outside world (your friends) they could access using your public IP address - most likely starts with anything BUT 192.168.xxx.xxx In regards to docs to help you figure it out, the manufacturer of your router or your ISPs helpdesk might be the best bets. (of course router configuration isn't easy and you could completely stuff up your internet connection) - Have fun :) Chris.
-
How does a router work? I share hi-speed with three other computers in my house all of each are connected to THE router. The reason I ask I because...i've installed MySQL/PHP on one box and host my web site from that computer. If I try localhost on that machine it works fine...if I try xxx.xxx.xxx.xxx IP address (that I get from ipconfig) it also works...if I got to another machine and try that same IP it works there too, but when anyone outside the router tries...like a friend...then don't get access...so I'm assuming it has something to do with the router... each node on my LAN in my house IP address differs by only the last digit and by one... Why is the router doing this...? Is it even the router? Anyone know of any docs that might be of help? Thanks :) The word of the day is legs, let's go back to my house and spread the word ;P
See my reply to a post in the Web Development forum: http://www.codeproject.com/script/comments/forums.asp?msg=710847&forumid=1640#xx710847xx[^] - Mike
-
How does a router work? I share hi-speed with three other computers in my house all of each are connected to THE router. The reason I ask I because...i've installed MySQL/PHP on one box and host my web site from that computer. If I try localhost on that machine it works fine...if I try xxx.xxx.xxx.xxx IP address (that I get from ipconfig) it also works...if I got to another machine and try that same IP it works there too, but when anyone outside the router tries...like a friend...then don't get access...so I'm assuming it has something to do with the router... each node on my LAN in my house IP address differs by only the last digit and by one... Why is the router doing this...? Is it even the router? Anyone know of any docs that might be of help? Thanks :) The word of the day is legs, let's go back to my house and spread the word ;P
You need to change the router's DMZ configuration or port 80 forwarding to point to your web server's ip address. Check your router's manual to see if you can change these settings. Another hit related to this... sounds like your router is set up to use DHCP (automatically assigns out ip addresses when computers connect). If you don't specify a "hard" ip address in your web server's tcp/ip settings and point the router to that ip, a power failure or restart of a few computers can cause the addresses to be reassigned. When this happens, your router will likely end up pointing web traffic to the wrong box.
-
The IP Addresses you are trying are probably the local (private) ip addresses. What you need to do is setup the router to "route" your public IP address to the PC that is hosting your website. When it is all setup the following will be true: 1. From the PC itself you could access the Web Site using "LOCALHOST" 2. From other PCs in the network you could access the website using "192.168.0.xxx" (or whatever your internal IPs are) 3. From the outside world (your friends) they could access using your public IP address - most likely starts with anything BUT 192.168.xxx.xxx In regards to docs to help you figure it out, the manufacturer of your router or your ISPs helpdesk might be the best bets. (of course router configuration isn't easy and you could completely stuff up your internet connection) - Have fun :) Chris.
Chris Ormerod wrote: 3. From the outside world (your friends) they could access using your public IP address - most likely starts with anything BUT 192.168.xxx.xxx Like what you get from www.whatsmyip.org[^]?
Who am I? Currently: A Programming Student trying to survive school with plan to go on to Univeristy of Advancing Technology to study game design. Main career interest include: Multimedia and game programming. Working on an outside project: A game for the GamePark32 (GP32) portable gaming console. My website: www.GP32US.com
-
How does a router work? I share hi-speed with three other computers in my house all of each are connected to THE router. The reason I ask I because...i've installed MySQL/PHP on one box and host my web site from that computer. If I try localhost on that machine it works fine...if I try xxx.xxx.xxx.xxx IP address (that I get from ipconfig) it also works...if I got to another machine and try that same IP it works there too, but when anyone outside the router tries...like a friend...then don't get access...so I'm assuming it has something to do with the router... each node on my LAN in my house IP address differs by only the last digit and by one... Why is the router doing this...? Is it even the router? Anyone know of any docs that might be of help? Thanks :) The word of the day is legs, let's go back to my house and spread the word ;P
It is the router, as explained by other posts here. To find out what your "outside world" IP address is another useful website is: http://checkip.dyndns.org[^] For configuration of port forwarding, your router itself probably has address 192.168.0.10, 192.168.0.50 or somthing similar. SamW
-
How does a router work? I share hi-speed with three other computers in my house all of each are connected to THE router. The reason I ask I because...i've installed MySQL/PHP on one box and host my web site from that computer. If I try localhost on that machine it works fine...if I try xxx.xxx.xxx.xxx IP address (that I get from ipconfig) it also works...if I got to another machine and try that same IP it works there too, but when anyone outside the router tries...like a friend...then don't get access...so I'm assuming it has something to do with the router... each node on my LAN in my house IP address differs by only the last digit and by one... Why is the router doing this...? Is it even the router? Anyone know of any docs that might be of help? Thanks :) The word of the day is legs, let's go back to my house and spread the word ;P