Network Requirements

The communication between the IoT Edge Platform and Device Connectivity relies on the following channels:

  • HTTPS (port 443), for the consumption of Device Connectivity APIs

  • JMS (port 61616), for the dispatch of JMS frames on a secure NIO+SSL channel

When the IoT Edge Platform runs on a private network, a proxy may be used for the HTTPS flow. The proxy configuration relies on the following Java VM arguments:
https.proxyHost=<proxy_host>
https.proxyPort=<proxy_port>
https.proxyUser=<username>
https.proxyPassword=<password>
java.net.useSystemProxies=true

Parameters https.proxyUser and https.proxyPassword may be omitted if the proxy does not require authentication.

You can pass the parameters specified to the IoT Edge Platform by adding them to the startup script located in the IoT Edge Platform root folder. The file name is gateway.sh for Unix and gateway.bat for Windows.

  • Open the startup script.

  • Add the parameters and the correct values. Make sure that the parameter names have the -D prefix and the parameter lines end with \ or ^, just like the other lines in the file. Make sure to insert the required lines before the last script line starting with the -jar command. The configuration in the gateway.sh file must be as follows:

-Dhttps.proxyHost=<proxy_host> \
-Dhttps.proxyPort=<proxy_port> \
-Djava.net.useSystemProxies=true \
-Dhttps.proxyUser=<username> \
-Dhttps.proxyPassword=<password> \
  • Save and close the startup script.

As the JMS flow cannot be routed through a standard HTTP proxy, an outgoing connection must be allowed from the network where the IoT Edge Platform runs to port 61616 of the cloud instance it connects to.