Not able to connect IPV6 server

2 posts / 0 new
Last post
Bhaumik
Not able to connect IPV6 server

Hi Mikko,

I am trying to connect the Gurux DLMS server from GXDLMSDirector using IPV6. But it is not able to connect and gives error message "No connection could be made because the target machine actively refused it".

Do we need to change anything in the server code for the IPV6 connection?

Can you please check to provide an update for the same.

Kurumi
Kurumi's picture

Hi Bhaumik,

Check the IP address and port number. Our clients are reading meters using IP v6.
If you are using example server you need to change this

Media = new GXNet(NetworkType.Tcp, port);
to
Media = new GXNet(NetworkType.Tcp, port) {UseIPv6 = true };

IPv4 is used as a default.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi