ERROR: transport error 202: gethostbyname: unknown host
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]
This error can be mostly seen in mac environment when you try to run server in eclipse debug mode.
solution:
you need map 127.0.0.1 to localhost in /etc/hosts
vi /etc/hosts
comment:
::1 localhost
add
127.0.0.1 localhost
Thanks for referring techiehints.

Leave a comment