I have the client and server correctly compiled in 2 separate virtual machines (virtualBox).
I run the server. When I run the client with the command: ./bin/gurux.dlms.client.bin -h 192.168.56.101 -p 4061. I get this problem: Connection failed: 111, Connection refused Error. 258.
But with the Gurux Director it does connect correctly and reads the objects.
I don't know why. Could you help me?
No, I don't have anything activated that can block my connection.
I do not understand what can be.
if i have the client and server on the same machine it works fine.
Can you ping the server from the client PC? Check the firewall. It's VERY common that firewall is blocking the connection or your virtual meters are in different TCP/IP networks and can't see each other.
Yes I can.
It is true, something is blocking the connection. We have tested it with 2 raspberry pi and it works correctly.
I'm going to check the firewall, and If I find the problem I will report it.
Hi Fernando,
Hi Fernando,
Do you have firewall, etc that might block the connection?
For some reason TCP/IP connection fails.
BR,
Mikko
No, I don't have anything
No, I don't have anything activated that can block my connection.
I do not understand what can be.
if i have the client and server on the same machine it works fine.
Thanks you,
Fernando
Hi,
Hi,
Can you ping the server from the client PC? Check the firewall. It's VERY common that firewall is blocking the connection or your virtual meters are in different TCP/IP networks and can't see each other.
BR,
Mikko
Yes I can.
Yes I can.
It is true, something is blocking the connection. We have tested it with 2 raspberry pi and it works correctly.
I'm going to check the firewall, and If I find the problem I will report it.
Thanks you.
Fernando.