No internet response #164
Replies: 5 comments 1 reply
-
Further to my post. Still unable to get to it using the sta mode. |
Beta Was this translation helpful? Give feedback.
-
Are you sure the endpoints are being registered? |
Beta Was this translation helpful? Give feedback.
-
Would the mode of connection (AP or STA) be affected by end point registration? ie. If there was an endpoint registered, would you expect it might work with AP but not STA method of connection? |
Beta Was this translation helpful? Give feedback.
-
I'm a bit confused about accessing the ESP using a browser connected to the internet using STA. I understand that as an STYA it will connect as a station to my wifi network but when I open my browser, I am on a public network that does not have access through our firewall back into my organisations network. I thought you would need some www dns record to access threough browser? |
Beta Was this translation helpful? Give feedback.
-
Hi David, |
Beta Was this translation helpful? Give feedback.
-
I am working through the videos "Internet Server" -> "Creating a Server".
The wifi connects ok and then the server starts and gets and IP address.
The PC is connected to same network as the ESP ("DrayTek"), When I run IP scanner, I see the esp device listed on IP 192.168.1.25
However, when I open a browser and enter IP 192.168.1.25, the page does not load.
This site can’t be reached192.168.1.25 refused to connect. I also went to the MDNS video and set up the service and tried to navigate to http://my-esp32.local but that did not work either.
I can ping the esp IP address on PC and it is found ok.
C:\Users\Owner>ping 192.168.1.25
Pinging 192.168.1.25 with 32 bytes of data:
Reply from 192.168.1.25: bytes=32 time=146ms TTL=255
Reply from 192.168.1.25: bytes=32 time=232ms TTL=255
Reply from 192.168.1.25: bytes=32 time=45ms TTL=255
Reply from 192.168.1.25: bytes=32 time=57ms TTL=255
Ping statistics for 192.168.1.25:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 45ms, Maximum = 232ms, Average = 120ms
Here is output from monitor while running the code.
I (767) WIFI: Connecting...
I (797) wifi:new:<6,1>, old:<1,0>, ap:<255,255>, sta:<6,1>, prof:1
I (797) wifi:state: init -> auth (b0)
I (897) wifi:state: auth -> assoc (0)
I (967) wifi:state: assoc -> run (10)
W (987) wifi:idx:0 (ifx:0, 16:49:bc:42:f6:a0), tid:5, ssn:0, winSize:64
I (1027) wifi:connected with DrayTek, aid = 5, channel 6, 40U, bssid = 16:49:bc:42:f6:a0
I (1027) wifi:security: WPA2-PSK, phy: bgn, rssi: -83
I (1037) wifi:pm start, type: 1
I (1037) WIFI: Connected
W (1097) wifi:idx:1 (ifx:0, 16:49:bc:42:f6:a0), tid:0, ssn:4, winSize:64
I (1107) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (2057) WIFI: Got IP
I (2057) esp_netif_handlers: sta ip: 192.168.1.25, mask: 255.255.255.0, gw: 192.168.1.1
Beta Was this translation helpful? Give feedback.
All reactions