Can I set up my Arduino Pro Micro and ESP8266 so that I can simply connect to the 8266 with my phone's WiFi, and simply ping ports or send get requests to a local IP in order to run commands on my device? essentially pinging something like 192.168.0.1:100 to turn on and :000 to turn off or something like that? I want to easily be able to write an android app to do that for me when i press a button. The phone will have a LTE connection so having the WiFi in use 24/7 is okay
I have done some research and have seen that this is possible when both the phone and 8266 are connected to the same AP but I have not seen this done without an AP / Router