RIDE keeps trying to connect to 127.0.0.1:4502 when host is localhost. The interpreter in WSL2 can't be found with that address, this results in connect error. Although a browser under Windows can connect to localhost:4502 when WSL2 interpreter starts in headless/ZeroFootprint.
Did you connect to an already running interpreter or start the interpreter from RIDE?
Connect to already running interpreter
How do you reproduce the issue?
Connect fail in RIDE:
In WSL2, start interpreter RIDE_INIT="SERVE:*:4502" dyalog.
In Windows RIDE, type: connect TCP, host: localhost, port:4502.
Click 'connect'.
Connect success in browser:
In WSL2, start interpreter RIDE_INIT="HTTP:*:4502" dyalog.
In a Windows browser, type localhost:4502 in addressbar and hit enter.
Describe the issue you are having
RIDE keeps trying to connect to 127.0.0.1:4502 when host is localhost. The interpreter in WSL2 can't be found with that address, this results in connect error. Although a browser under Windows can connect to localhost:4502 when WSL2 interpreter starts in headless/ZeroFootprint.
Did you connect to an already running interpreter or start the interpreter from RIDE?
Connect to already running interpreter
How do you reproduce the issue?
Connect fail in RIDE: In WSL2, start interpreter
RIDE_INIT="SERVE:*:4502" dyalog
. In Windows RIDE, type: connect TCP, host: localhost, port:4502. Click 'connect'.Connect success in browser: In WSL2, start interpreter
RIDE_INIT="HTTP:*:4502" dyalog
. In a Windows browser, typelocalhost:4502
in addressbar and hit enter.Paste the contents of Help → About (Shift+F1)