Microduino ENC Network (10)——How to Change the Listening Port of the Web Server
Language | English |
---|
ObjectiveThis tutorial is very easy, only need to change one sentence code and change the default port the webserver is listening on. Equipment
Schematic
Stack all modules and then connect the ethernet cable, as follows: ProgramThe change is very easy: you need only to set the hisport variable: ether.hisport=90; You can use the program on ENC network (seven) to finish this experiment, as follows: DebugStep 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; ResultYour Microduino WEB server's listen port will change to 90. Video |