Chat freely about anything...

User avatar
By hortplus
#73922 I'm trying but i can't connect to port 7777. Here is my code:

// Use WiFiClient class to create TCP connections
WiFiClient client;
const int httpPort = 7777;
if (!client.connect(host, httpPort)) {
Serial.println("connection failed");
return;
}

Any reason you can think why i cant connect?
User avatar
By hortplus
#73924
martin_g wrote:You are connected with the AP of the repeater and host is "192.168.4.1"?


I'm on another board attaching to the nodemcu wifi repeater called MyAP. How do i send telnet type data to it?