issue connection with gprs modem

10 posts / 0 new
Last post
tagmout
issue connection with gprs modem

Hi mikko ,

We want to communicate with a CLOU meter via gprs modem ( @ip) , but it gives the error message :" no connection could be established because the target computer expressly refused it" , we tried with both IEC and DLMS .

we use the device properties below :

Kurumi
Kurumi's picture

Hi,

Are you using a static IP address? If you are using a dynamic IP address you can't establish the connection to the meter. You can read more:

https://www.gurux.fi/Gurux.DLMS.DynamicIP

BR,
Mikko

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

tagmout

Yes , I'm using a static IP address with a VPN nerwork .

cordially

TAGMOUT

Kurumi
Kurumi's picture

Hi,

Then you have a firewall or something else that is blocking the connection. This is TCP/IP error and it's coming from the operating system.

BR,
Mikko

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

tagmout

Hi Mikko ,

I don't think so because I can ping IP of meter from my computer . Perhaps something else ,

cordially

TAGMOUT

Kurumi
Kurumi's picture

Hi,

Firewall might block this connection because ping is using a different port.
Also, make sure that it's your meter that is replying. Close the meter and try to ping again.
You should not receive pings now.

BR,
Mikko

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

tagmout

I can't ping when i close the meter .

cordially

TAGMOUT

Kurumi
Kurumi's picture

Then there is a firewall or your port number is wrong.

BR,
Mikko

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

tagmout

still the same error message " No connection could be made because the target computer actively refused I checked the firewall it's OK and I used 4059 as a number port . perhaps another thing that block this connection .

cordially

TAGMOUT

Kurumi
Kurumi's picture

Hi,

If you can read your meter using the optical or serial port you can check the port from TcpUdp Setup object.

BR,
Mikko

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