Skip to content

[BUG]: Cannot contact server after installation #458

@sxwsxwsxwsxw

Description

@sxwsxwsxwsxw

Describe the bug

Hi,

I'd very much like to get going with Jotty, but cannot access the server after installation. I've created the docker compose file, created all the directories with the correct ownership. I've even checked if this user can access / write all the directories, all seems correct.

However, after docker compose creates the container, it notifies me that the server is ready and running at port 3000, which is of course the docker-internal port. When I then try to reach the server with a web browser, either on the internal port or the defined external port (I've done 41122:3000), my browser always says "the connection was reset".

I can see that the process is running (node server.js) with the correct user. Netstat also shows me, that the port was opened on 41122. But I cannot reach the port with a web browser. Even if I try to telnet to the port (telnet localhost 41122) the connection gets opened but then closed immediately again.

Any help would be appreciated.

Kind regards

  jotty:
    image: ghcr.io/fccview/jotty:latest
    container_name: jotty
    user: "802:802"
    ports:
      - "41122:3000"
    volumes:
      - /var/lib/jotty/data:/app/data:rw
      - /etc/jotty:/app/config:rw
      - /var/lib/jotty/cache:/app/.next/cache:rw
    restart: unless-stopped
    environment:
      - NODE_ENV=production

Steps to Reproduce

I've created the docker compose file, created all the directories with the correct ownership. I've even checked if this user can access / write all the directories, all seems correct.

How do you run Jotty?

Docker

Jotty Version

Latest

Checklist

  • I have searched across other issues to make sure this bug has not been already reported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions