简体   繁体   中英

“java.net.BindException: Address already in use: JVM_Bind <null>:8080” even though i checked the port by using netstat -ano

"java.net.bindexception address already in use null 8080" even though i checked the port by using netstat -ano to check and found out that no such port was open before running my project on tomcat 7 server.

Can anyone provide me with some pointer.

Thanks, pkalyan

If you are running on windows machine check your host file is correct or not. You can set it to default for your OS(Xp/Windows 7) by following the instructions here. https://support.microsoft.com/en-us/kb/972034

In my case it was causing the issue, and after making it to default it was working fine. Hope this helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM