ESP8266Wifi + Pubsubclient + Proxy = no connection
Posted: Mon May 20, 2019 8:21 am
This is my first post and I searched for a solution without results.
I'm working with an esp8266 NodeMCU as a scale and connect it via WiFiClient to my could with pubsubclient as MQTT client. When I connect the ESP to an normal WiFi Router everything works like a charm. When I connect the ESP to my company WiFi, where you need to work with a proxy, I can't off course establish the connection via MQTT anymore.
Is there a way to work with a proxy in my setup? I don't even know where to deal with that. Either within the WiFiClient or during establishing the MQTT connection? I can't find any start point to deal with my problem and I'm pretty helpless. So any hint is welcome.
Proxy is IP + Port like 1.2.3.4:9400
I'm working with an esp8266 NodeMCU as a scale and connect it via WiFiClient to my could with pubsubclient as MQTT client. When I connect the ESP to an normal WiFi Router everything works like a charm. When I connect the ESP to my company WiFi, where you need to work with a proxy, I can't off course establish the connection via MQTT anymore.
Is there a way to work with a proxy in my setup? I don't even know where to deal with that. Either within the WiFiClient or during establishing the MQTT connection? I can't find any start point to deal with my problem and I'm pretty helpless. So any hint is welcome.
Proxy is IP + Port like 1.2.3.4:9400