Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Callback from CR1000 over internet, which port?


JanE Jan 15, 2017 01:19 PM

Hello,

I'm trying to get a CR1000 to callback to Loggernet 4.2.1. on a public IP. The router has a dynamic IP and a subscription at T-Mobile. They only allow traffic over specific ports and port 6785 is not in the list. Also my office firewall only lets through traffic over a few specific ports (http, https, ssh)

- Can I use port 443 (https) for Pakbus communication?

- In device configuration under Pakbus/TCP Client Connections I can set the callback IP and port. In the datalogger program I can set a port for the TCPOpen command. How do these two settings interact?

- Can I let the CR1000 callback to Loggernet without sending anything, just making the connection? I only need a window of say 1 hour per day during which I can control the logger from Loggernet.

- Will the logger show as 'online' in the Status Monitor when the callback succeeds? Do I still need to connect to it using the Connect Screen?

Best Regards,
Jan


JamesMc Jan 20, 2017 07:34 PM

- Can I use port 443 (https) for Pakbus communication?

Yes, you can do this.  Set your Pakbus/TCP Clients Address Port to your office IP/FQDN and port 443.  You may have to configure your listening port in LoggerNet as well, depending on your how your office network is configured.  You may need to discuss this with your network administrator.

- In device configuration under Pakbus/TCP Client Connections I can set the callback IP and port. In the datalogger program I can set a port for the TCPOpen command. How do these two settings interact?

My understanding is they operate independently of each other.  Typically you would use one or the other.  I would suggest configuring callback through DevConfig.  I believe this is the recommended way.

- Can I let the CR1000 callback to Loggernet without sending anything, just making the connection? I only need a window of say 1 hour per day during which I can control the logger from Loggernet.

Yes, you can do this.  The callback function of the CR1000 will try and maintain a network socket to your 'home base'.  You can setup your data collection schedule to collect only during your hour window.  The constant connection may consume more data (howerver minimal, with keepalive traffic possibly, etc), and this may be a consideration where you would want to use the TCPOpen function instead of the DevConfig TCP client list.

- Will the logger show as 'online' in the Status Monitor when the callback succeeds? Do I still need to connect to it using the Connect Screen?

Yes, the logger will show as online in the status monitor without interaction from yourself.  You do not need to use the connect screen, unless you want to view datalogger function in realtime, update programs, manually collect data, etc.

Also, don't forget to set a Pakbus/TCP Password on your datalogger in DevConfig.  There are a lot of open CR1000s out there in the wild, don't invite someone in to monkey with yours.


JanE Jan 23, 2017 09:47 AM

Hi James,

Thanks a lot for your reply. I will try (again) now knowing that it should work.

If I understand correcly the settings in device configuration will try to establish a permanent connection while the TCPOpen command makes a connection when it is called. The latter is better for me because the router is not switched on all the time. I will remove the TCP client settings in device configuration.

Log in or register to post/reply in the forum.