A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Web Component Certification (SCWCD/OCPJWCD)
Difference between port 8080 and 80
Joined: Sep 23, 2010
Feb 14, 2011 12:28:52
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 ?
OCPJP 6.0-81% | Preparing for OCWCD
Author and ninkuma
Joined: Jan 10, 2002
Feb 14, 2011 12:32:24
Port 80 is the default port. It's what gets used when no port is specified. 8080 is
'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.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: Difference between port 8080 and 80
Running Tomcat without port number
how do I install 2 web servers on same box using same IP address?
URL and mapping to servlets
how to change port while JBoss is HTTP Server?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015