java.lang.Exception: Port 8083 already in use.
The error means that another application already has that port bound so that you can't use it. Typically it means that a server is running (or is exiting) but still has the specific port open. Often this error is given when you are trying to shutdown one server and bring up the new version but the first server isn't total down when the new one is started. You need to find the server in question and you may have to kill it using kill -9
or something.
A good tool to find out which application has the port open is lsof
. This should work under most Unixes (Linux) and MacOSX at least.
lsof -i :8083
lsof
is for LiSting the Open Files on a system but the -i
option is for internet addresses:
-i [i] This option selects the listing of files any of whose Internet
address matches the address specified in i.
[46][protocol][@hostname|hostaddr][:service|port]
netstat -a
– Common