mk23 / jmxproxy

JMX to HTTP Proxy
https://mk23.github.io/jmxproxy
MIT License
42 stars 19 forks source link

Using 10.0.0.0 as invalid host breaks test when machine is on 10x network #166

Closed mk23 closed 6 years ago

mk23 commented 6 years ago

Thrown exception becomes java.net.ConnectException because Connection refused. Manual test confirms:

$ telnet 10.0.0.0 11123
Trying 10.0.0.0...
telnet: Unable to connect to remote host: Connection refused

$ ping 10.0.0.0
PING 10.0.0.0 (10.0.0.0) 56(84) bytes of data.
64 bytes from 10.0.0.0: icmp_seq=1 ttl=128 time=7.77 ms

Switch to using 192.0.2.1 instead.