1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-06 05:21:22 +03:00

Changed Telnet Port to port 23

Best to stick to standard port numbers
https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers
This commit is contained in:
Bertus Kruger 2015-07-14 09:04:12 +12:00
parent dece240830
commit ef9b324ffd

View File

@ -25,7 +25,7 @@
const char* ssid = "**********"; const char* ssid = "**********";
const char* password = "**********"; const char* password = "**********";
WiFiServer server(21); WiFiServer server(23);
WiFiClient serverClients[MAX_SRV_CLIENTS]; WiFiClient serverClients[MAX_SRV_CLIENTS];
void setup() { void setup() {
@ -45,7 +45,7 @@ void setup() {
Serial1.print("Ready! Use 'telnet "); Serial1.print("Ready! Use 'telnet ");
Serial1.print(WiFi.localIP()); Serial1.print(WiFi.localIP());
Serial1.println(" 21' to connect"); Serial1.println(" 23' to connect");
} }
void loop() { void loop() {