Open arkuzo opened 1 year ago
Same problem when the server is running in WSL (Windows Subsystem for Linux).
Test-NetConnection -ComputerName localhost -Port 8500
WARNING: TCP connect to (127.0.0.1 : 8500) failed
ComputerName : localhost
RemoteAddress : ::1
RemotePort : 8500
InterfaceAlias : Loopback Pseudo-Interface 1
SourceAddress : ::1
TcpTestSucceeded : True
Chrome and another tools. using resolving the right acces over ipv6. But the rest client has problems:
Failed to send request:
RequestError: The connection was rejected. Either the requested service isn’t running on the requested server/port, the proxy settings in vscode are misconfigured, or a firewall is blocking requests. Details: RequestError: connect ECONNREFUSED 127.0.0.1:8500.
Steps to Reproduce:
Start web server on IPv6 address (for example, this is default on php yii serve with Yii2 framework)
Provide request to started server:
Expected: request is provided to [::1] and we get response body
Actual: request is failed with error: