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.

you need map to localhost in /etc/hosts

vi /etc/hosts

::1 localhost

add localhost

Thanks for referring techiehints.