free port on MacOSX or linux terminal

Sometimes when we start application on MacOSx or linux they don't start, because an port is already occupied by application which terminated unexpectedly or by some other application. Developers face these kind of issue more frequently, when we run java application in our IDE eclipse or IntelliJ Idea and switch between run/debug or error in run/debug. Now we need to free the port which was occupied by an existing instance of the application or any

Read more 0

Sometimes when we run java application on windows platform, it doesn't start tomcat and says port 8080 already in use. To resolve this issue, we have to kill the process running on port 8080. Below are the few simple steps to release port 8080. Start you command prompt as an administator: Run the following command to get the process which is using the port 8080: netstat -o -n -a | findstr 0.0:8080 To kill the

Read more 0