Coders Packet

Check Port Number in your system is unused or not using Java

By Satvik Singh Sengar

Check whether the Port Number in your system is available for the new connection using Java

Check whether the Port Number in your system is available for the new connection at the current period of time.

Port Number is a 16-bit integer that is used by software and operating system to send and receive data.

The range of port numbers is from 0 to 65,535 where 0 to 1043 are well-known ports, 1024-49151 are registered port numbers, and 49152-65535 are dynamic port numbers that can be used by users to create their own self-networks.

So go and try this code and check if the connection can be made or not.

Download Complete Code

Comments

No comments yet

Download Packet

Reviews Report

Submitted by Satvik Singh Sengar (satviksinghsengar)

Download packets of source code on Coders Packet