Microduino ENC Network (10)——How to Change the Listening Port of the Web Server
|Language:||English • 中文|
This tutorial is very easy, only need to change one sentence code and change the default port the web server is listening on.
Stack all modules and then connect the ethernet cable, as follows:
The change is very easy: you need only to set the port variable:
You can use the program on ENC network (seven) to finish this experiment, as follows:
Step 1: Download the EtherCard library and copy to your libraries fold of IDE, then restart IDE. https://github.com/jcw/ethercard
Step 2: Download the code and compile it.
Step 3: Access Microduino's IP, the port is:90;
Your Microduino WEB server's listen port will change to 90.