Computing.Net > Forums > Web Development > Question about http/webserver

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

Question about http/webserver

Reply to Message Icon

Name: pestario
Date: May 26, 2004 at 17:43:22 Pacific
OS: Windows 2000
CPU/Ram: athlon xp 2400+
Comment:

Not sure if this is exactly known but I am really curious about this.
I have a web server running on my computer which goes through a router to access the internet. I have set up my router so that port 80 gets fwd'd to the node that's running the web server. My question is, what would happen if someone tries to acess the URL of my web server when my computer is turned off. Does that message somehow get routed by the router to the offline web server anyway? or does the router just reject the http packet since that IP address is not alive(at present, at least) ? Does it depend on the type of router? (I have a M$ MN-700).
I hope the question is clear.



Sponsored Link
Ads by Google

Response Number 1
Name: anonproxy
Date: May 26, 2004 at 20:13:42 Pacific
Reply:

"Unable to Locate Host" - returned by the browser.


0

Response Number 2
Name: pestario
Date: May 26, 2004 at 22:02:35 Pacific
Reply:

I understand that. But my question is, where does that HTTP message get terminated? Is it at the router or is it past the router (ie the router forwards the message on to the specified local machine).


0

Response Number 3
Name: Jamie_McCoy
Date: May 27, 2004 at 04:42:40 Pacific
Reply:

it wud be at the router

Sign Me Guestbook!

jaymc.co.nr


0

Response Number 4
Name: chaud
Date: May 27, 2004 at 08:02:26 Pacific
Reply:

Are you sure? Because if the router is on and the comp. is off, then wouldnt it just act like normal and forward the request to the computer, then there would be no answer...

Excell Hosting for all your hosting needs.


0

Response Number 5
Name: Jamie_McCoy
Date: May 27, 2004 at 11:21:38 Pacific
Reply:

well the router wud be the 1 sending back the 'could not connect' signal

Sign Me Guestbook!

jaymc.co.nr


0

Related Posts

See More



Response Number 6
Name: anonproxy
Date: May 27, 2004 at 20:00:50 Pacific
Reply:

"...where does that HTTP message get terminated? Is it at the router or is it past the router (ie the router forwards the message on to the specified local machine)."

The HTTP message never gets terminated (there's no connection yet to terminate). First, your URI-request is never returned. Second, no end connection is ever established. When your server is off the host doesn't exist, so you never make it into a handshake.

Upon request, your router matches against it's host table, and will basically refresh the table when your server is requested. Finding no entry, the router will drop the packet. The router will return to the original host an ICMP 3 (Destination Unreachable, flag 1) packet. This should not depend on the type of router. This is IPv4 behavior.


0

Sponsored Link
Ads by Google
Reply to Message Icon

domain name Dynamic link



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Question about http/webserver

RE: Few questions about website d.. www.computing.net/answers/webdevel/re-few-questions-about-website-d/4011.html

Questions about building a site www.computing.net/answers/webdevel/questions-about-building-a-site/1169.html

Image placing question www.computing.net/answers/webdevel/image-placing-question/1900.html