Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Port number 8080 or 80

 
Noah Carroll
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
could someone please tell me what the significance of the ports numbers 8080 or 80 is. I don't understand it, and I have heard that if your port number is 8080 then it must be typed, and if it is 80 it is not necessary to type it. ???
------------------
I hope its helps, feel free to email me noahcarroll@juno.com
 
Ashwin Desai
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Port number 80 is the default port for the webserver. Thus when you type in http://www.yahoo.com it is equivalent to http://www.yahoo.com:80.
Ports 1-1024 are reserved for OS use. The rest can be used by the user for any applications. 8080 does not have any special significance.
Ashwin.
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only slight significance of 8080 is that it seems to be a popular choice for running an alternative web server on a site which already has one on 80. Many web servers and servlet containers come set up for port 8080 so that they stand less chance of clashing with an instaled server if there is one, and can be run as a non-root user on Unix/Linux systems.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic