Package org.alfresco.util
Class PortUtil
java.lang.Object
org.alfresco.util.PortUtil
Alfresco port-related utility functions.
- Author:
- abalmus
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PortUtil
public PortUtil()
-
-
Method Details
-
checkPort
Check if specified port is free.- Parameters:
port- Port number to check.host- A local address to bind to; if null, "" or "0.0.0.0" then all local addresses will be considered.- Throws:
IOException
-