Go Down

Topic: How to connect ESP8266 Node MCU (WiFi Module) with the web hosting? (Read 579 times) previous topic - next topic

Avid_IoT

I'm currently developing an IoT project which connect a mobile application (smart phone) to control a smart house basically like a house automation system which using Arduino as a platform. I've been running the whole system using localhost, and everything runs smoothly. My problem is now, I want the whole system to be in my cPanel Hosting, and turns out it fails to connect as shown in the serial monitor (two photos attached). I already tried to change the localhost URL to cPanel Hosting URL and I also tried to change the localhost IP to shared IP in cPanel, but still nothing happened. For your information, I'm using WiFi Module ESP8266 (Node MCU) as the hardware in the smart house prototype. Is there any specific way to help me to solve this problem? As attached is my serial monitor on Arduino, supposedly the -1 turns into 200/400 which shows that my system is connected to the hosting.

Juraj

You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.


Juraj

You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

Avid_IoT


Juraj

see
I didn't use it, should I? And how?
if you connect to https you should use it.
see the examples
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

Avid_IoT

Oh I see, I just need to add some code into the Arduino IDE only isn't?

Go Up