I am getting exception on console which is:
java.lang.Exception: Port 8083 already in use.
How to resolve this exception? If I will get which service is using 8083 port then I can stop that service and in this way I can get over this problem.
Thanks for your help!
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 -9or 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.lsofis for LiSting the Open Files on a system but the-ioption is for internet addresses: