clerk

nwbrown 2024-11-21T14:47:17.665569Z

is there something I need to do to get Clerk to play nicely with WSL? I can curl localhost:7777 just fine but I get a site cannot be reached error in the browser

2024-11-22T08:49:54.932029Z

something about the "binding address" of Clerks http server ? it might default to "localhost", but should be set to "0.0.0.0" to work in some situations. Not sure, there is a config option for this in Clerk.

borkdude 2024-11-22T10:09:40.992129Z

Not sure if this is still necessary but I run this powershell script on my Windows machine: https://github.com/microsoft/WSL/issues/4150#issuecomment-504209723

nwbrown 2024-11-22T16:06:57.482479Z

setting the host to 0.0.0.0 worked, thanks

🎉 2
Samuel Ludwig 2024-11-21T15:39:48.936229Z

ohh, trying to reach back to my WSL time, does it load if you do 127.0.0.1:7777 instead of localhost? i think there's some weird DNS/IP mangling wsl will do (networking is definitely not my strong-suit)

nwbrown 2024-11-21T15:45:53.997399Z

doesn't look like it. I also can't connect from my browser when it's running on a different computer

borkdude 2024-11-21T16:01:45.118649Z

Wsl or wsl2?

nwbrown 2024-11-21T23:28:20.550809Z

2