Apple devices cannot access WSL website

Apple devices cannot access WSL website

Apple devices cannot access WSL website
Apple devices cannot access WSL website
2023-10-31 11:04:42 - last edited 2023-11-06 10:53:57
Tags: #Solved
Model: Archer AX3000  
Hardware Version: V1
Firmware Version: 1.0.6

I have a localhost website running on Windows 11 WLS2. The IP address for the local network is 192.168.1.254, and the website is 172.82.23.223.

I can reach the website from any device connected to the network with an ethernet connection. Still, when I try with any Apple device connected to the network via the Wi-Fi connection, I receive the error, This site can’t be reached.

I am using an Archer AX3000 router.

 

Solution Solved.

  0      
  0      
#1
Options
3 Reply
Re:Apple devices cannot access WSL website
2023-11-03 18:12:10

  @gary1946 You might have to port forward the website's port to the host PC to reach it from Appe devices since the mDNS resolver might not be able to find the site on the NATed address in WSL. This article has some good information in it networking - WSL-2: Which ports are automatically forwarded? - Stack Overflow

 

Mike Technology enthusiast. Geek
  0  
  0  
#2
Options
Re:Apple devices cannot access WSL website
2023-11-03 18:15:52

  @mkostersitz 

 

Why do the ethernet connections work and not the Wi-Fi connections?

mkostersitz wrote

  @gary1946 You might have to port forward the website's port to the host PC to reach it from Appe devices since the mDNS resolver might not be able to find the site on the NATed address in WSL. This article has some good information in it networking - WSL-2: Which ports are automatically forwarded? - Stack Overflow

 

 

  0  
  0  
#3
Options
Re:Apple devices cannot access WSL website
2023-11-03 21:28:56

  @gary1946 because the Ethernet adapter on your Windows machine is bound to the NAT interface of WSL and ARP requests get dNATed and a response goes back to the client. From WiFi the Access Point is in between and eats the ARP request to the 172.x.x.x address thus no response for the IP over Wi-Fi. You should be able to reach the web site over the 192.x.x.x network though once the port forwarding is set up

Mike Technology enthusiast. Geek
  0  
  0  
#4
Options

Information

Helpful: 0

Views: 232

Replies: 3

Tags

Solved
Related Articles