Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Why is that

fails almost instantaneously, while

takes some more time before failing?

If there is no server on these ports, both the requests should go through the same process and should take the same amount of time to fail. What is the difference?

share|improve this question
up vote 5 down vote accepted

Google does keep a server running on port 443. If you browse to or, you'll get the normal Google search page over SSL.

When you use the URL, you're telling the browser to make a request over port 443, but to use non-encrypted HTTP. Google has their server configured to reject this and close the connection since it expects only HTTPS over that port.

However, Google's servers are not listening on port 8080. When you make a request to port 8080, your browser has to wait for the timeout before it decides that the request failed.

You can prove all this to yourself by opening a telnet session to and trying to speak unencrypted HTTP to it:

[~]$ telnet 443
Connected to
GET / HTTP/1.0
Connection closed by foreign host.

If you try the following command, you'll see that you can't connect to port 8080 at all and it takes a long time to timeout:

[~]$ telnet 8080
telnet: connect to address Operation timed out
share|improve this answer
Thanks a lot! – Lazer Aug 8 '10 at 19:26
@Lazer You're welcome. Unless there's something else you'd like clarified, please accept the answer to show it answered your question. Thanks! – Stephen Jennings Aug 8 '10 at 20:29
yes, sure. – Lazer Aug 9 '10 at 6:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.