esp8266 cannot transfer data to server via mobile hotspot(mobile phone)

hi guys.

I have an IOT project. My problem is, the data (temperature) cannot be transfered to the server (thingspeak) when the esp8266 is connected to my mobile hotspot. But, when the iot project is connected to my home wifi, it work successully.

  1. What is the best solution for my problem if I want my iot project being connected to my mobile hotspot?
    The hotspot is from mobile phone

  2. What kind of wifi device that is suitable to transfer data from esp8266 to the thingspeak server?

Thank you..

It should work. There's probably a problem with your hotspot settings, or in your code. But you didn't post any information, so it makes no sense to speculate.

  1. The best solution is to fix your code/settings.

  2. A mobile phone as a wireless hotspot would be suitable to transfer data from the ESP8266 to the thingspeak server.

Pieter

Hello everyone .

I have the sane problem.
I have an IOT project (humidity and temperature sensor) but data cannot be transfered to the server (thingspeak) when the esp8266 is connected to my mobile hotspot. When the iot project is connected to my home wifi, it work successully.

What can I change in code or in Iphone hot spot settings. I try 2G , 3G and 4G data , problem still there.

I appreciate any sugestion.

Thanks

I recommend using something like Postman on a laptop connected to your hotspot to emulate the ESP8266. If you can connect with Postman and not with the ESP, then you know to find the difference between the ESP and what you're sending from your laptop. Hoping you can find the problem in there.