BLYNK
HOME       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

Blynk Server connect Arduino with external WIFI

#1

Hello all,

I build a nice project with a Node MCU.

An automatic plant watering system.

I use a Node MCU and I use my own Raspberry Blynk Server. I’am very happy with this solution and it works very well.

Now the problem:

I want to use the Wifi of my neighbour for the NodeMCU. But my Blynk server is connected to my WiFi. The port forwarding of my Fritzbox works also well. I can controll my Server also while I am in the mobile Internet.

But I have no idea how to connect the NodeMCU with my Blynk server if the Arduino is connected to an other network.

I tried the all IP-Adresses that my Fritzbox give me for port forwarding.

Anyone any idea how to solve the problem. Is there a manual available?

Thanks a lot!
Florian

0 Likes

#2

Whatever IP address or DDNS URL you used in your app, to be able to control your server when not connected to your home Wi-Fi is the same IP/URL that you need to use for your NodeMCU.

The port you use wont be the same as the one used by your app though, it will be 80 or 8080 if you’re using the default HTTP connection, or whatever custom port you have set-up.
That port needs to be forwarded to your Blynk server as well.

Pete.

0 Likes

#3

Thanks for your fast answer:

That is how it Looks like:
I use that adress in my app: motionpi.xxxxxxxxxx.myfritz.net

or should I use the IP adress from the Internet that I find in the port forwarding?

That is my Connection to my local Server. If the Arduino is in my networt:
Blynk.begin(auth, ssid, pass, IPAddress(192,168,xxx,xxx), 8080);

0 Likes

#4

Hi,

I found the correct IP adress to connect the app with my server.

The IP adress Looks like: 84,xxx,xx,xxx

In the app I use port 9443.

I test it in my software with this comment:

Blynk.begin(auth, ssid, pass, IPAddress(84,xxx,xx,xxx), 80); //RASPI CONF IP Adresse aus Internet

I used the ports: 80, 8080 and 9443 without succsess

0 Likes

#5

Perfect. Thanks a lot. I did a mistake in the configuration of my Fritzbox.

SOLVED!

0 Likes