[JAVA] Address already in use workaround (Windows)

If the following error prevents execution, it seems that you have to kill the address you are already using.

ʻOrg.jboss.netty.channel.ChannelException: Failed to bind to: /0.0.0.0:[port number] Caused by: java.net.BindException: Address already in use: bind`

Method (Windows): By command Find the ProcessNo used by netstat -nao | find" [port number] " (Or netstat -an -p tcp) When it comes out taskkill / f / pid (Searched ProcessNo) So, if you kill it and try again, it's okay.

In short, for things that only one person can use It feels like I'm using it by squeezing (taskkilling) you (Process No) that you are already using.

Recommended Posts

Address already in use workaround (Windows)
[Cloud9] Address already in use [Solution]
Use java.time in Jackson
`bind': Address already in use --bind (2) for 127.0.0.1:3000 (Errno :: EADDRINUSE) How to deal with the error
Invalid route name, already in use: Error resolution for'new_user_session'
Use OpenCV in Java
Use MouseListener in Processing
Use images in Rails
What to do when Address already in use is displayed after executing rails s
Use PostgreSQL in Scala
Use PreparedStatement in Java
Beginners use ubuntu in windows to prepare rails environment
Use Java Web Start in an OpenJDK environment on Windows
Change java encoding in windows
Use ruby variables in javascript.
Use Redis Stream in Java
Use multiple checkboxes in Rails6!