As @PeteKnight said, you have to know if you have a static IP address, or you just have a dynamically allocated IP address from ISP.
I’ll explain the steps more clearly for each scenario:
A) Dynamically Allocated IP Address from ISP
- If you have dynamically allocated IP address (normally, more than 99%), e.g.
45.45.a.b
, and your local server is in local network @192.168.0.100
. - Forward all ports 9443, 8080, 443 to your local Blynk Server @
192.168.0.100
- Get a free DDNS service at duckdns.org, noip.com, etc… For example you get a DDNS account yourname.duckdns.org. You can try if it’s working by pointing your WebBrower to
https://yourname.duckdns.org:9443/admin
to access your Local Blynk Server admin page.
- In your phone/tablet APP, select server :
yourname.duckdns.org
and port:9443
instead of your local server IP192.168.0.100
. This will work no matter if you’re using inside or outside network.
If it’s working, you certainly have to follow several more steps to ensure yourname.duckdns.org
is always automatically updated with correct dynamically-allocated IP address whenever your ISP assigns a new IP address (router reboot, etc…).
B) Statically Allocated IP Address from ISP, e.g. 45.45.a.b
- You just need to forward all ports 9443, 8080, 443 to your local Blynk Server @
192.168.0.100
- In your phone/tablet APP, select server :
45.45.a.b
and port:9443
instead of your local server IP192.168.0.100
. This will work no matter if you’re using inside or outside network - It’s always better to use DDNS, just in case something happens, and especially you don’t need to remember complicated IP Address
45.45.a.b
, but justyourname.duckdns.org
In some special case, ISP uses a double NAT, then you have no way to reach your server from outside, unless you deal with ISP to change (and pay some more). Do a search on double NAT
in this forum if necessary.