Il breve tutorial di oggi prende spunto da una richiesta di Antonio: poter cambiare la porta su cui è in ascolto il webserver.
La modifica è molto semplice, basta impostare la variabile hisport:
In questo caso, sarà possibile collegarsi al webserver specificando la porta 90:
Thanks very much for your excellent tutorials, Luca. They are extremely useful for a beginner like me.
I am trying to write sketches for an Arduino-compatible device called Nanode Gateway which has on-board enc28j60.
If you are looking for an idea to develop the theme of your tutorials 8, 9 & 10, please may I propose looking at controlling an Arduino output using a service like cosm.com or similar?
It seems like a natural progression in controlling the Arduino from the web. I am having great difficulty making my device work with such a service however. Thanks for your help and keep up the good work.
Hi Steve,
that’s a good suggestion… I’ll work on it!
thanks
Complimenti per i tutorial.
Sto lavorando a uno sketch per mandare una mail tramite la 28j60, ma ho problemi ad aprire una sessione telnet. Sapresti darmi qualche consiglio?
Grazie
ciao Paolo,
farò di più… prossimo tutorial: inviare mail con Arduino 😉
I’m trying to set up a server that will replicate everything that comes from the Arduino serial port.
But “ether” is an http server, how do I set up plain tcp server? I was trying to get something like a telnet server, and connect it to the serial port of the Arduino.
My final goal is to create a physical “serial 2 telnet” to help me to remotely access a server via serial port when it has network problems.
Thanks!
Ciao Luca,
hisport works perfect when accessing Arduino from browser. However when I try to send some data (using GET from your web temperature tutorial) to webpage it doesn’t work. Ofc there’s no response as well. How to use tcpSend, when hisport is changed? Thank you in advance for your help.
Hi Pawel: are you trying to send data to a webserver/application that listens on a port different from 80? Give a look to this tutorial: my app is listening on port 1000.
Hi Luca,
I’m trying to send data to php file saveTemp.php from your tutorial no 14. I guess it only listens on port 80, but I can’t use that one.. Response is not that important, but I wish to send data to port 80 from 8000 – defined by hisport (correct me if I’m wrong). Thanks
Hi Pawel,
yes you can change the “remote” tcp port with the hisport parameter