Port 80 at the end of a URL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kestrel
    Recognized Expert Top Contributor
    • Jul 2006
    • 1071

    Port 80 at the end of a URL

    At the end of this the below url does the 80 specify the port?
    http://www.site.com:80
    Last edited by Niheel; Dec 5 '06, 09:47 AM.
  • bartonc
    Recognized Expert Expert
    • Sep 2006
    • 6478

    #2
    Originally posted by kestrell
    does the 80 specify the port?
    Yes it does.

    Comment

    • kestrel
      Recognized Expert Top Contributor
      • Jul 2006
      • 1071

      #3
      so if someone were to put
      site.com:21 in IE, it would open up the ftp?

      Comment

      • bartonc
        Recognized Expert Expert
        • Sep 2006
        • 6478

        #4
        Originally posted by kestrell
        so if someone were to put
        site.com:21 in IE, it would open up the ftp?
        Not on my site. You'd need the directory name and password. Not to mention, a way to send the FTP commands.

        Comment

        • sashi
          Recognized Expert Top Contributor
          • Jun 2006
          • 1749

          #5
          Originally posted by kestrell
          so if someone were to put
          site.com:21 in IE, it would open up the ftp?

          Nop, it prompt error 404 and redirect the user to "Page Not Found" error page. Reason why, port 21 is reserved port to ftp service, in order to open an FTP site you need to specify the FQDN (Fully Qualified Domain Name) in the address bar, i.e <ftp://ftp.site.com>. Good luck & Take care.

          Comment

          • NeoPa
            Recognized Expert Moderator MVP
            • Oct 2006
            • 32656

            #6
            Originally posted by kestrell
            so if someone were to put
            site.com:21 in IE, it would open up the ftp?
            It would try to connect on the ftp port, but would normally fail for reasons outlined above.

            Comment

            • kestrel
              Recognized Expert Top Contributor
              • Jul 2006
              • 1071

              #7
              im just trying to understand that :80 thing, ive never seen it before

              Comment

              • bartonc
                Recognized Expert Expert
                • Sep 2006
                • 6478

                #8
                Originally posted by NeoPa
                It would try to connect on the ftp port, but would normally fail for reasons outlined above.
                "Outlined below" if you have "most recent on top" set like I do.

                Comment

                • drhowarddrfine
                  Recognized Expert Expert
                  • Sep 2006
                  • 7434

                  #9
                  The :80 is the default that's why it's not used in the uri. Sometimes you'll see other port numbers, like :8080, when someone runs their own server/site from home. It's because some ISPs block 80 for home use.

                  Comment

                  Working...