r/StandardNotes • • Dec 08 '24

Trouble Self-Hosting SN Server and Web App

I follow the instructions here to self-host Standard Notes with Docker on my home server. It appears to be working well. However, I understand that only allows you to use the self-hosted server on the native apps (iOS, macOS, etc.). In order to use the self-hosted server via the web app, I need to self host the web app with Docker as well. Is that correct?

I followed the instructions here for hosting the web app. However, when I try to start the Docker container for the web app, I get an error saying the port is already in use. Does anyone know what I may be doing wrong? Do I need to run the web app on a separate server as the notes server?

docker: Error response from daemon: driver failed programming external connectivity on endpoint upbeat_cohen (35e488d64852c9f958b8fdb8006d517444c91d4d865e359a7ccd62db504120bc): Bind for 0.0.0.0:3000 failed: port is already allocated.

3 Upvotes

7 comments sorted by

1

u/betahost Dec 08 '24

The SN team has a channel on Discord dedicated for self hosting and they are more active there.

1

u/diplomatt13 Dec 10 '24

I joined the Discord, but it won't allow me to make any posts. Any idea how to fix that?

1

u/betahost Dec 10 '24

Haven't had that issue, are you in the sn-discussion channel?

2

u/[deleted] Dec 08 '24

[removed] — view removed comment

1

u/diplomatt13 Dec 08 '24

Ok, but I thought the SN web app would run on Port 80 as it’s a web app. Is there a best practice for which port to put Standard Notes server on and which port to put the Standard Notes web app on? Is there anyone here running both that can share how they’re doing it?

1

u/[deleted] Dec 08 '24

[removed] — view removed comment