This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference between port 8080 and 80

 
Harikrishna Gorrepati
Ranch Hand
Posts: 423
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I am sure port 80 is used for HTTP and it runs on top of TCP/IP (Port numbers from 0 to 1023)..What about 8080 and when should we use it ?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65339
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Port 80 is the default port. It's what gets used when no port is specified. 8080 is Tomcat's default port so as not to interfere with any other web server that may be running.

If you are going to run Tomcat as your web server, the port can be changed to 80 so that visitors do not need to specify it.

If you are going to front Tomcat with IIS or Apache for some reason, that server will listen on port 80.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic