To start agent on server by executing the following command
$ ./startAgent.sh
INFO 2018-03-27 18:31:04.981 [kg.apc.p] (): Binding UDP to 4444
INFO 2018-03-27 18:31:05.982 [kg.apc.p] (): Binding TCP to 4444
INFO 2018-03-27 18:31:05.986 [kg.apc.p] (): JP@GC Agent v2.2.0 started
To check its connectivity to this agent from other server, using telnet
$ telnet 192.168.1.31 4444
Could not open connection to the host, on port 4444:Connect failed
if using ipv6 instead of ipv4, it can connect to that port.
$ telnet fe80::250:56ff:xxxx:xxxx 4444
Check the addresses and port, it only listens on tcp6, so that's why ipv6 can connect, ipv4 not.
$netstat -ano|grep 4444
tcp6 0 0 :::4444 :::* LISTEN off (0.00/0/0)
udp6 0 0 :::4444 :::* off (0.00/0/0)
My question is that why the server agent only listens on tcp6:4444 ? Is there any way to let him listen on ipv4?