PDA

View Full Version : I can't see what I host



Peegee
02-21-2004, 02:47 PM
My sigs apparently show up. However they are hosted on my machine, and thus I can't see them. Is it possible to type in 'http://my ip here' and see what's hosted on my computer?

crono_logical
02-21-2004, 04:04 PM
If you have an HTTP (e.g. Apache) server running on your PC configured correctly, then yes :p If you're using cgi/php/whatever, you'll need the appropriate extensions installed as well on top of that :p

If they show up for others though, I don't see why they don't for you. Maybe you've got a router and it's interpreting internal requests for your own IP funny? You could always try http://localhost for yourself.

Peegee
02-22-2004, 05:17 AM
If I use localhost then nobody will see it but me, right? I'm using tinyweb (http://www.ritlabs.com/tinyweb).

crono_logical
02-22-2004, 05:48 AM
Ah, thought you meant for testing purposes. :p

Well, since we can see the images correctly, the server is clearly running, so as I said before, the only reason I can think of at the moment that you can't see it when you enter your own external IP address into the browser is a badly configured (or just plain bad) router at your end - it seems to be forwarding web page requests from the internet correctly, but not if the request comes from the internal LAN, it's probably getting stuck at the router rather than being bounced back to you (or whichever internal PC has the server) like I'd expect it to.

If you haven't got a router and your PC is plugged directly into the internet, then something strange is going on since your PC should then recognise that IP as your own and use localhost anyway.

Peegee
02-22-2004, 06:18 AM
It's a router, and I don't know how to set the router to accept port 80 requests from the internet to come to my machine. Can you give me a vague reference to what I need to edit?

crono_logical
02-22-2004, 06:36 AM
You'll have to check your router manual how to do that since it varies from router to router - it's usually something along the lines of accessing the router's control panel via a web browser using it's internal LAN IP and whatever port it's running the control panel on, then adding the option in there.

Since it seems you haven't done that before though, it appears that the default is to forward port 80 to your machine, hence why we're seeing the images already :p The problem is that it's not forwarding internal port 80 requests to the external IP back to your PC, only external requests to your external IP.