printfuck / stardew-multiplayer-docker

Run a Stardew Valley Multiplayer Server with docker-compose
192 stars 86 forks source link

Cant connect to VNC, or Web Player #32

Open DragonDev07 opened 1 year ago

DragonDev07 commented 1 year ago

Ran the server, it built fine, however when I attempt to connect to the VNC or Webserver, via either localhost or LAN, nothing happens. In both cases it just says "Refused connection" or something along those lines. When I run docker log , the latest log is always

[<time> TRACE game] Disconnected: ServerOfflineMode]

Any ideas for a fix anyone?

sarahjaneweaver commented 12 months ago

The port mappings in the docker-compose, don't match the ports selected when the vnc server is started. Try the following ports instead (docker-compose.yml):

ports:
  # VNC
  - 5900:5900
  # NOVNC WEB
  - 5800:5800
  # Game  
  - 24642:24642/udp