This may very well not be an arduino problem, but I am hung up on this issue. I have a simple webserver on a mega, and it works fine when accessing it through my local network. The problem is that I want to access it remotely by phone, and although I have followed numerous how-tos, I simply cannot get it to work. My home network has a Verizon 4G router, and I have a TPLink AX-4400 router (for greater wireless coverage) connected to the Verizon router via an ethernet cable. Everything runs through and the TPLink router, and the arduino is connected via an ethernet cable. I set up the port forwarding on the TPLink router with no problem except that it doesn't work. I suspect the 2 routers is the problem, but don't know how to proceed. Any suggestions?
Most ISPs block inbound port 80 requests from the internet unless you have a commercial static IP account.
I've tried different ports, and none seem to work. I looked up the reserved ports like 443, 22, etc, and chose port numbers greater than 49000.
Best way is to contact your ISP and ask, unless you feel you might be violating the ISP's TOS.
.
I've tried setting up the port forwarding on both routers. They accept it, but it still doesn't work. Obviously, I am missing something....
The frustrating part is, that I have done this before on a different project, but damned if I can remember the exact steps.
I have used port 8080 in the past, but I think my ISP blocks it too.
Edit: My ISP uses private network IPs, like 10.x.x.x unless you have a commercial account. The ISP needs to route the public IP to your router.
.
I just set the Verizon router as a passthrough device and will retry in the morning.
I got it. I remembered that in the port forwarding, I had to set the external port to 80 and forward it to the correct port for the arduino. If I set it to anything else, I have to append the port in the URL. Marking as solved.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.