user3776949
user3776949

Reputation: 237

Yesod -- devel.hs: connect: does not exist (Connection refused)

I'm moving a web app to a new server and upgrading the project from Yesod 1.2 to 1.4. When I ran yesod devel I got the following error:

Starting development server...
Starting devel application
Devel application launched: http://localhost:3000
devel.hs: connect: does not exist (Connection refused)
Exit code: ExitFailure 1

I'm not sure how to debug this quickly. This is running on Ubuntu 14.04 x64. I'm able to run another web server on port 3000.

Upvotes: 0

Views: 424

Answers (2)

user3776949
user3776949

Reputation: 237

I tracked it down to using Database.Memcache.Server but not having memcached running. The Yesod upgrade wasn't related.

Upvotes: 2

monk
monk

Reputation: 690

Some info that could be useful:

  • your setting.yml
  • version of warp
  • content of /etc/hosts file

Maybe as a quick test you could try another port (e.g. 4000). I think the way to do that is pass the -p option to the yesod devel command.

yesod devel -p 4000

Upvotes: 0

Related Questions