I am trying to establish connection between ZABBIX SERVER which has been installed on Ubuntu Virtual Machine and ZABBIX AGENT which has been installed on my local machine (windows).
I’m not sure whether this is problem with zabbix.server.conf and zabbix.agent.conf files OR problem with Virtual Machine. So any suggestions / advice is much appreciated !
Zabbix Server Details: ( installed on Ubuntu )
-
ip address

-
VM NAT details

Zabbix Agent Details ( installed on Windows )
Testing between Agent (on windows) and server ( on ubuntu )
-
pinging success from server to agent

-
pinging failure from agent to server

-
telnet failure in both cases

and

Note: Server is running and also agent is running
Troubleshooting Based on Ansgar Answer:
-
port forwarding

-
tcptrace on ubuntu

as you mentioned it shows open connection
-
tcptrace on windows

still connection is closed, what am i doing wrong in Port forwarding ? i also tried with host id as 127.0.0.1

Only the second telnet connection fails (Could not open connection). The first one is established successfully (Connected to 10.184.230.129), but then closed by the remote host (Connection closed by foreign host).
The connection client->server most likely fails, because the server-VM is behind a NATed interface. You’ll have to forward the required port(s) from the host to the guest (the button “Port Forwarding” in the network adapter configuration).
That doesn’t explain why the connection server->client fails, though.
Which ports are server and agent listening on? Use
netstatto check that. Also, the hosts are apparently on different networks, so I’d check withtcptraceroute(Linux) and tracetcp (Windows, you’ll also need WinPcap for it to work) at which hop exactly the connection fails.Server->Client:
tcptraceroute -n 10.184.230.129 10050Client->Server:
tracetcp 10.0.2.15:10051 -n