Question

I'm running the latest version of Yesod and the Haskell Platform on Windows 8.

I made a new scaffold project with yesod init and then executed the following commands within the project directory:

cabal install
yesod devel

Yesod devel responds

Devel application launched: http://localhost:3000

However, when I go to localhost:3000 with Chrome, it gives the following error:

Error 101 (net::ERR_CONNECTION_RESET): The connection was reset.

This is different from a random localhost port (which just gives the following):

Oops! Google Chrome could not connect to localhost:3010

Any ideas why this is the case and what I can do to fix it?

Was it helpful?

Solution

A bug was introduced to Warp which caused issues on Windows, and was fixed about a week ago. The newest version of the yesod-platform should resolve the issue (it worked correctly in Windows for my test).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top