basic stuff,
just to refresh you mind.
You may encounter the below error once you are running your application on tomcat server:
Unrecognized Windows Sockets error: 0: JVM_Bind
This means the port you are using to deploy you application on is being used by another process,
so how to figure out that which process blocking you port,
use below command:
netstat -a -n -o
-a : display all the connection
-n : display address and port
-o : display the process id bind to the connection
step 1: get the process id that your port is bind to it after running the above command.
tasklist -v -fi "PID eq
-v: display task information
-fi: display task that match search criteria
eq: equal
-fo: display in format of (list, csv, table)
step 2: get the name of task or process that lock your port
step 3: use the task manager or command prompt to kill that process
No comments:
Post a Comment