Electron cloud manipulator questions

Hi,

I would like to use the Electron cloud manipulator (from now on the tool) and have a few questions:

  1. the server where I install the tool requires a public IP. Now for inbound traffic, what ports does it need open? I get that the main UDP port (5684) needs to be open, but I see devices connecting and using another port (random?). Example of this:

device specific cloud port listening 0.0.0.0:46637
(that's from the readme of the tool)

Is there a particular range of ports, can this be configured or it only requires UDP port 5684?

  1. is this DS_ADDR still good? (from the config.js file in the repo)
  .defaults({
	  'DS_ADDR':'34.201.112.170',
	  'DS_PORT':5684
  });

I read here that it changed at some point to 107.20.71.170 (but that was in 2018) and the DNS for it should be 0.udp.particle.io, which if I ping it today gives:

ping 0.udp.particle.io
PING device-service-udp.us-east-1.eks-production-gotham.particle.io (18.214.12.187): 56 data bytes

Should I use 18.214.12.187 today?

Thank you

The other port generally doesn't need port forwarding, unless you have a particularly restrictive firewall.

A temporary port is set up for the responses from the real cloud to come back. This is standard whenever any application makes outgoing requests by UDP, and your router will generally automatically return packets to that port, at least for a few minutes.

I would go ahead and do the ping or dig command to use whatever the current server is and enter that in DS_ADDR. Otherwise, you can end up in the wrong pool of servers even if it technically works.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.