This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes Server port number of javaranch Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Server port number of javaranch" Watch "Server port number of javaranch" New topic

Server port number of javaranch

ramya narayanan
Ranch Hand

Joined: Oct 06, 2008
Posts: 338
Hi all,

When i'm trying to connect to, through TCP mon which is a utility to monitor the data flowing through a TCP connection, it is not working properly.

I want to know the server port of .

Kind regards
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11757

When you connect to a web server (such as and you do not specify a particular port to use, then you must be using the default port. You can read a basic primer on HTTP in wikipedia's Hypertext Transfer Protocol article, which will tell you the default port, and it will also give you a list of relevant RFCs that will give you a much greater understanding of what is going on.

Alternatively you could look up HTTP in wikipedia's list of TCP and UDP port numbers - this will also give you the default port number.

The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
I agree. Here's the link:
subject: Server port number of javaranch
It's not a secret anymore!