How to connect the ESP 8266 to local area network?
If you have a WiFi Access Point (aka WiFi router) on your local LAN then you can connect your ESP8266 to that WiFi network and then its reachable from your PC via a IP address.
The IP address is in most cases automatically configured.
There is also support for &quot;Multicast DNS&quot; and if you use that there is no need to remember IP addresses, just use the name that you put into your Code for your ESP8266.
Ref. Multicast DNS, https://tttapa.github.io/ESP8266/Chap08%20-%20mDNS.html