java.net.socketexception:unrecongnized Windows Sockets Error:0:jvm_bind

Source: Internet
Author: User

 MyEclipse java.net.SocketException:Unrecognized Windows Sockets error:0: Jvm_bind exception is generally caused by the use of Tomcat port, the solution is as follows: 1, View the ports used by Tomcat open the Conf folder under the Tomcat installation directory, such as D:\Program Files (x86) \apache software foundation\tomcat 6.0\conf find Server.xml File View Tomcat configuration port number (typically 8080) <connector port= "8080" protocol= "http/1.1"   connectiontimeout= "20000"   redir ectport= "8443"/> 2, check if 8080 port is occupied cmd execute Netstat-ano command C:\users\admin>netstat-ano Active Connection Agreement   local address &nbs P         external address         status           PIDTCP    0.0.0 .0:8009           0.0.0.0:0              listening   &NBS P   1256TCP    0.0.0.0:8080           0.0.0.0:0           & nbsp  listening       5520TCP    127.0.0.1:2559         0.0.0.0:0   &NBS P     &nbsp    listening       1512TCP    127.0.0.1:5939         0.0.0.0:0 &nbs P            listening       2288 You can see that the 8080-port process with PID 5520 consumes 3, the tracking process (1) cmd Line tasklist|findstr "5520" command C:\users\admin>tasklist|findstr "5520" Javaw.exe         &NBSP ;           1256 Console                    1 &NB Sp   81,864 K can see that the Javaw.exe process is the process we are looking for, most likely the tomcat that was started before was not properly ended, and of course it could be myeclipse itself. Force kill this process: C:\users\admin>taskkill/pid 5520/t/F

java.net.socketexception:unrecongnized Windows Sockets Error:0:jvm_bind

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.