Change port possible ???

General support questions and discussions.

Change port possible ???

Postby macmike » Sun Oct 27, 2013 2:51 pm

I am trying to change the default for from 80 to 92. I go to the Arduino code , and change the listening port from 80 to 92
WebServer webserver("", 92);
and I make the appropriate changes to my router, and I add :80 to the url that I am using. But, the does not work. It seems to connect, but does not update the status, or toggle the relay. Any help ?
macmike
 
Posts: 2
Joined: Sun Oct 27, 2013 2:45 pm

Re: Change port possible ???

Postby support » Mon Oct 28, 2013 6:38 pm

Hi Mike,

We haven't tried that out, but what you did should work. I don't see why you'd want to change that though, since all you
could do is use your home router to perform NAT translation as follows:

external.internet.ip.address:92 -> internal.arduino.ip.address:80

This way, you get to use a different port from an internet point of view (security by obfuscation) but you get to leave
the Arduino running off port 80, which is the default.

Take care,
support
Site Admin
 
Posts: 384
Joined: Thu Aug 22, 2013 7:30 pm


Return to Support



cron