Subscribe to our Newsletter | Join our LinkedIn Group | Post on IoT Central

Communicate between 2raspberry pi

Dear pros,

I am looking for a solution for my network: I have: raspberry1_connected_hotspot4G_1 (stay in province 1) and raspberry2_connected_hotspot4G_2 (stay in province 2). I want to send data between raspberry1 raspberry2. Do you have any suggestions?




You need to be a member of IoT Central to add comments!

Join IoT Central

Email me when people reply –


  • You can do it here:

    Qortex - Preorder Axon
  • Difficult if you don't have a public IP address for either raspi1 or raspi2. Have you tried ngrok ( before? You can set up a free account and get a public IP (sort of) to test your raspi1 <--> raspi2 connection.

    To test the connection:
    - launch a simple tcp echo server in raspi2, say listening to port 14000.
    - run ngrok in raspi2 "ngrok tcp 14000" and jot down the returned public IP address
    - launch a simple tcp echo client in raspi1 and have it connect to the "returned public IP address, port 14000" socket. Send some data to this socket
    - verify the tcp echo server in raspi2 receives the data from raspi1 echo client.

    ngrok - secure introspectable tunnels to localhost
    ngrok secure introspectable tunnels to localhost webhook development tool and debugging tool
This reply was deleted.

Charter Sponsors

Upcoming IoT Events

More IoT News

Arcadia makes supporting clean energy easier

Nowadays, it’s easier than ever to power your home with clean energy, and yet, many Americans don’t know how to make the switch. Luckily, you don’t have to install expensive solar panels or switch utility companies…


4 industries to watch for AI disruption

Consumer-centric applications for artificial intelligence (AI) and automation are helping to stamp out the public perception that these technologies will only benefit businesses and negatively impact jobs and hiring. The conversation from human…


Answering your Huawei ban questions

A lot has happened since we uploaded our most recent video about the Huawei ban last month. Another reprieve has been issued, licenses have been granted and the FCC has officially barred Huawei equipment from U.S. networks. Our viewers had some… Continue

IoT Career Opportunities