@AK,
I suppose you’re asking because you cannot get connectivity… If that’s the case, and if you have access to the server, do a netstat with the PID option, (-p in windows, -o in Linux), check out the PID for the Oneagent processes, and check in what state the connections for these PIDs are. They should be in a socket with the proxy, but the netstat will tell you definitely what is happening.