Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Issue Connection With Gprs Modem

issue connection with gprs modem

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By tagmout , 21 September, 2020
Forums
DLMSDirector

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 :

Image
Profile picture for user Kurumi

Kurumi

5 years 10 months ago

Hi,

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

tagmout

5 years 10 months ago

Yes , I'm using a static IP

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

Profile picture for user Kurumi

Kurumi

5 years 10 months ago

Hi,

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

tagmout

5 years 10 months ago

Hi Mikko ,

Hi Mikko ,

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

Profile picture for user Kurumi

Kurumi

5 years 10 months ago

Hi,

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

tagmout

5 years 10 months ago

I can't ping when i close the

I can't ping when i close the meter .

Profile picture for user Kurumi

Kurumi

5 years 10 months ago

Then there is a firewall or

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

BR,
Mikko

tagmout

5 years 10 months ago

still the same error message

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 .

Profile picture for user Kurumi

Kurumi

5 years 10 months ago

Hi,

Hi,

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

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200
  • Mon, 06/15/2026 - 08:52
    gurux.dlms.c 9.0.2606.1501

New forum topics

  • Service not known error on gprs communication
  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
More

Who's new

  • Vegazone-au
  • ksFhuuipOxKrxk…
  • sherylrk3
  • OLaneHycle
  • LxfgLnoisbruoL…
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin