Chipscope无法连接JTAG,Failed to open connection to server localhost:50001 (localhost/0:0:0:0:0:0:0:1)

github:https://github.com/poemlover

前两天换了台主机,用ChipScope连接板子的时候,出现如下错误:

INFO: ChipScope Pro Analyzer    Version: 14.7 P.20131013 (Build 14700.13.286.464)

COMMAND: open_cable
INFO: Started ChipScope host (localhost:50001)
ERROR: Failed to open connection to server localhost:50001 (localhost/0:0:0:0:0:0:0:1)
java.net.SocketException: Address family not supported by protocol family: connect
ERROR: No server found at:localhost:50001 (localhost/0:0:0:0:0:0:0:1)
INFO: Try again after starting the server on machine localhost
in a command window and verify that the server opens port 50001, without any error messages.
The command is: D:\Xilinx\14.7\ISE_DS\ISE\bin\nt64\cse_server.exe -port 50001

Chipscope无法连接JTAG,Failed to open connection to server localhost:50001 (localhost/0:0:0:0:0:0:0:1)_第1张图片

度娘一大堆,说的最多的就是关闭windows防火墙,然而并没有什么用

最后在谷歌上找到了原因和解决办法

方法链接:https://www.xilinx.com/support/answers/33064.html

原因是为了上油管更换了hosts文件

解决办法是只需要在hosts文件中添加一行  127.0.0.1 localhost

(文件位置  C:\Windows\System32\drivers\etc)

OK,顺利连接上了板子!

Chipscope无法连接JTAG,Failed to open connection to server localhost:50001 (localhost/0:0:0:0:0:0:0:1)_第2张图片

(第一篇博客,主要是为了让开发的小伙伴们少走点弯路,请多多指教哦!)

你可能感兴趣的:(Chipscope无法连接JTAG,Failed to open connection to server localhost:50001 (localhost/0:0:0:0:0:0:0:1))