Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start #146

Closed
Fastidious opened this issue Jul 23, 2019 · 2 comments
Closed

Unable to start #146

Fastidious opened this issue Jul 23, 2019 · 2 comments

Comments

@Fastidious
Copy link

Describe the bug

Writefreely will fail to run. It shows:

2019/07/23 14:41:45 Serving on http://quark.rocks:8080
2019/07/23 14:41:45 ---
ERROR: 2019/07/23 14:41:45 app.go:402: Unable to start: listen tcp 13.82.172.61:8080: bind: cannot assign requested address

Steps to reproduce (if necessary)

I tried running writefreely. Will not run.

Expected behavior

I would expect it to run.

Application configuration

  • Single mode or Multi-user mode? Single mode
  • Database? [mysql/sqlite] sqlite
  • Open registration? [yes/no] No
  • Federation enabled? [yes/no] No

Version or last commit: WriteFreely 0.10.0

Additional information

My VPS (Azure VM) has only a private IP bound on the interface, although it is exposed with a public IP to the world.

@Fastidious
Copy link
Author

Had to change the FQDN for localhost, and that worked.

@thebaer
Copy link
Member

thebaer commented Jul 23, 2019

Hey, this is just a misconfiguration. It looks like the bind value in the [server] section of your config is set to quark.rocks, and the application rightfully can't bind to its address.

For most setups, you'll want to bind to localhost, i.e. if you leave bind blank and it should work. Let us know if that doesn't, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants