Every Port Test Fails

Discussion in 'macOS' started by duckdodger, Dec 30, 2009.

  1. duckdodger macrumors newbie

    Dec 30, 2009
    I am trying to test what ports I have open.

    I was told that I could just open a Terminal session, and type in "telnet localhost 80" and it should respond with the port is working.

    Instead I get the following: telnet localhost 80
    Trying ::1...
    telnet: connect to address ::1: Connection refused
    Trying fe80::1...
    telnet: connect to address fe80::1: Connection refused
    telnet: connect to address Connection refused
    telnet: Unable to connect to remote host

    I know that this cannot be true, otherwise I could not get to this page.

    How can it show that the port is not open, but yet I am getting through to all my web pages?
    This started by using transmission and it is reporting that the port is closed.
    I opened the port on my Router.

    I still am able to download and upload files via Transmission fine. I just want to be able to confirm the port it open.

    My ISP is Comcast, Business Class connection at 30 MBS. This is connected to a D-Link 655 Router. Not a Wireless connection.

    MacPro, Intel Dual Core 2.5, 5 gigs of Ram. 28'' Monitor.
  2. SpeedFleX macrumors 6502

    Apr 22, 2009
    #2 is your computer meaning all you are doing using telnet to telnet yourself, which has nothing to do with comcast its all happening on one computer. In order to use telnet you must have a telnet server, telnet is looking at your computer which does not have thus running therefore it will give you an error.

    You have to open the port on your Router. YOu can do this by typing in in your web browser (Safari, Firefox etc) I believe it could also be I am not sure what D-Link uses
  3. VPrime macrumors 68000


    Dec 19, 2008
    London Ontario
    He knows this. If you read the first sentence he is trying to telnet him self to see what ports are open on his end.

    That being said, yes port 80 is the port used for websites.. But it shouldn't be open on your end unless you are running a web-server. Just because you can access the internet means nothing.
  4. Nugget macrumors 68000


    Nov 24, 2002
    Houston Texas USA
    You appear to be very confused. The command you typed is attempting to connect to a web server running on your local computer. It would only work if you've enabled Web Sharing in your System Preferences.

    That has nothing at all to do with your ability to visit other people's web sites out on the internet, which is outbound traffic and your router almost certainly allows any outbound traffic you request unrestricted.

    If you, for example, typed the command
    telnet forums.macrumors.com 80
    you'll find that it does work. (well, for sufficiently small values of "work") It'll just connect and then expect you to talk http to it. Nothing exciting or dramatic.

    Your failed telnet localhost 80 command just tells you that you're not running a web browser on your Mac. It doesn't necessarily mean that your router is blocking inbound traffic on port 80.
  5. Salmar macrumors regular

    Sep 16, 2007
    A really good test for your ports security is this website by Steve Gibson. I've tested my ports and it shows stealth as if there is no computer on those ports that I tested. Give it a try at this website using "shields up"


Share This Page