【ERROR】ERROR: transport error 202: bind failed: Cannot assign requested address

异常信息:

ERROR: transport error 202: bind failed: Cannot assign requested address
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]

如何解决:

将服务器/etc/hosts中有关localhost的映射去掉,如下:

#::1         localhost

  

原文地址:https://www.cnblogs.com/756623607-zhang/p/10778897.html