This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Servlets and the fly likes Port number 8080 or 80 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Port number 8080 or 80" Watch "Port number 8080 or 80" New topic
Author

Port number 8080 or 80

Noah Carroll
Ranch Hand

Joined: Sep 20, 2000
Posts: 96
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

Joined: Jul 17, 2000
Posts: 124
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

Joined: Jan 07, 1999
Posts: 6920
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.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Port number 8080 or 80