linuxserver / docker-emulatorjs

Web based retro emulation frontend with rom scanning and automated art ingestion.
GNU General Public License v3.0
521 stars 54 forks source link

[BUG] Cannot directly locally access the frontend using any port #81

Open Ramaddan opened 2 weeks ago

Ramaddan commented 2 weeks ago

Is there an existing issue for this?

Current Behavior

I was expecting to be able to just use localhost:80 or whatever port I set to go to the frontend, but it does not work

I have to instead use localhost:3000/frontend for it to work

This is using the docker container

Expected Behavior

No response

Steps To Reproduce

Just install the container and everything works, just not as expected

Environment

- OS: Ubuntu
- How docker service was installed:
Using the docker CLI command provided on the official github site

CPU architecture

x86-64

Docker creation

docker run -d   --name=emulatorjs   -e PUID=1000   -e PGID=1000   -e TZ=Etc/UTC   -e SUBFOLDER=/ `#optional`   -p 3000:3000   -p 80:80   -p 4001:4001 `#optional`   -v ~/Docker/config:/config   -v ~/Docker/data:/data   --restart unless-stopped   lscr.io/linuxserver/emulatorjs:latest

Container logs

[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────

[ipfs-upgrade] Checking if fs-repo needs to be upgraded (this may take some time)
ipfs migration: already at version 15
[custom-init] No custom files found, skipping...
Connection to localhost (127.0.0.1) 80 port [tcp/http] succeeded!
Initializing daemon...
Kubo version: 0.24.0
Repo version: 15
System version: amd64/linux
Golang version: go1.21.10
2024/09/17 16:47:17 failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes for details.
Connection to localhostConnection to localhost (::1) (::1) 4001 port [tcp/*] succeeded!
 3001 port [tcp/*] succeeded!
Connection to localhost (::1) 3000 port [tcp/*] succeeded!
[ls.io-init] done.
Swarm listening on /ip4/127.0.0.1/tcp/4001
Swarm listening on /ip4/127.0.0.1/udp/4001/quic-v1
Swarm listening on /ip4/127.0.0.1/udp/4001/quic-v1/webtransport/certhash/uEiCkd3bY22KZXsHwwjtUBUsVvZO1jtucrZACpNEi7YqI2g/certhash/uEiAfSMFWj4vVpvp1W3uORnN59vtqHmxaqOFNcfMiNiOKEw
Swarm listening on /ip4/172.17.0.3/tcp/4001
Swarm listening on /ip4/172.17.0.3/udp/4001/quic-v1
Swarm listening on /ip4/172.17.0.3/udp/4001/quic-v1/webtransport/certhash/uEiCkd3bY22KZXsHwwjtUBUsVvZO1jtucrZACpNEi7YqI2g/certhash/uEiAfSMFWj4vVpvp1W3uORnN59vtqHmxaqOFNcfMiNiOKEw
Swarm listening on /ip6/::1/tcp/4001
Swarm listening on /ip6/::1/udp/4001/quic-v1
Swarm listening on /ip6/::1/udp/4001/quic-v1/webtransport/certhash/uEiCkd3bY22KZXsHwwjtUBUsVvZO1jtucrZACpNEi7YqI2g/certhash/uEiAfSMFWj4vVpvp1W3uORnN59vtqHmxaqOFNcfMiNiOKEw
Swarm listening on /p2p-circuit
Swarm announcing /ip4/127.0.0.1/tcp/4001
Swarm announcing /ip4/127.0.0.1/udp/4001/quic-v1
Swarm announcing /ip4/127.0.0.1/udp/4001/quic-v1/webtransport/certhash/uEiCkd3bY22KZXsHwwjtUBUsVvZO1jtucrZACpNEi7YqI2g/certhash/uEiAfSMFWj4vVpvp1W3uORnN59vtqHmxaqOFNcfMiNiOKEw
Swarm announcing /ip4/172.17.0.3/tcp/4001
Swarm announcing /ip4/172.17.0.3/udp/4001/quic-v1
Swarm announcing /ip4/172.17.0.3/udp/4001/quic-v1/webtransport/certhash/uEiCkd3bY22KZXsHwwjtUBUsVvZO1jtucrZACpNEi7YqI2g/certhash/uEiAfSMFWj4vVpvp1W3uORnN59vtqHmxaqOFNcfMiNiOKEw
Swarm announcing /ip4/80.81.144.122/tcp/11007
Swarm announcing /ip4/80.81.144.122/udp/11007/quic-v1
Swarm announcing /ip4/80.81.144.122/udp/11007/quic-v1/webtransport/certhash/uEiCkd3bY22KZXsHwwjtUBUsVvZO1jtucrZACpNEi7YqI2g/certhash/uEiAfSMFWj4vVpvp1W3uORnN59vtqHmxaqOFNcfMiNiOKEw
Swarm announcing /ip6/::1/tcp/4001
Swarm announcing /ip6/::1/udp/4001/quic-v1
Swarm announcing /ip6/::1/udp/4001/quic-v1/webtransport/certhash/uEiCkd3bY22KZXsHwwjtUBUsVvZO1jtucrZACpNEi7YqI2g/certhash/uEiAfSMFWj4vVpvp1W3uORnN59vtqHmxaqOFNcfMiNiOKEw
RPC API server listening on /ip4/127.0.0.1/tcp/5001
WebUI: http://127.0.0.1:5001/webui
Gateway server listening on /ip4/127.0.0.1/tcp/8080
Daemon is ready
Ramaddan commented 6 days ago

It's ok, I figured it out.

There was a conflict with another service, but it did not give any direct error, and had to pass from an arbitrary external port to port 80