Skip to content

Unable access to web after up #106

@DunkanAidaho

Description

@DunkanAidaho

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Hi

I'm running both containers. Then I access the controller via port 8080. connection refused result

Expected Behavior

Start page

Steps To Reproduce

{24-08-08 0:53}rockpi:/opt/unifi root# ifconfig
br-a68caab3dd44: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.18.0.1 netmask 255.255.0.0 broadcast 172.18.255.255
inet6 fe80::42:96ff:feda:3d8b prefixlen 64 scopeid 0x20
ether 02:42:96:da:3d:8b txqueuelen 0 (Ethernet)
RX packets 73 bytes 19664 (19.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 86 bytes 21978 (21.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
ether 02:42:35:d1:5f:23 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

enP4p65s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.254.250 netmask 255.255.255.0 broadcast 192.168.254.255
inet6 fe80::2718:7708:c436:9a55 prefixlen 64 scopeid 0x20
ether 00:e0:4c:03:01:57 txqueuelen 1000 (Ethernet)
RX packets 33568 bytes 5573770 (5.3 MiB)
RX errors 0 dropped 26 overruns 0 frame 0
TX packets 39947 bytes 3478622 (3.3 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 147

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 1673 bytes 146346 (142.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1673 bytes 146346 (142.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

veth8d27889: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::9c55:e2ff:fe5d:ec0e prefixlen 64 scopeid 0x20
ether 9e:55:e2:5d:ec:0e txqueuelen 0 (Ethernet)
RX packets 87 bytes 21722 (21.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 91 bytes 23298 (22.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlu1i2: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 5e:b3:6f:03:90:73 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0



24-08-08 0:51}rockpi:/opt/unifi root# lsof -i :8080
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
docker-pr 1129 root 4u IPv4 740 0t0 TCP *:http-alt (LISTEN)
docker-pr 1137 root 4u IPv6 745 0t0 TCP *:http-alt (LISTEN)


{24-08-08 0:52}rockpi:/opt/unifi root# telnet localhost 8080
Trying ::1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.

EXT PC

~$ telnet 192.168.254.250 8080
Trying 192.168.254.250...
telnet: Unable to connect to remote host: Connecton refused


### Environment

```markdown
- OS: Archlinux
- How docker service was installed: docker compose -f file up -d

CPU architecture

arm64

Docker creation

YAML:

---
services:
  unifi-network-application:
    image: lscr.io/linuxserver/unifi-network-application:latest
    container_name: unifi-network-application
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - MONGO_USER=unifi
      - MONGO_PASS=unifi
      - MONGO_HOST=localhost
      - MONGO_PORT=27017
      - MONGO_DBNAME=unifi
      - MEM_LIMIT=1024 #optional
      - MEM_STARTUP=1024 #optional
      - MONGO_TLS= #optional
      - MONGO_AUTHSOURCE= #optional
    volumes:
      - /opt/unifi/data/ufi_data:/config
    ports:
      - 8443:8443
      - 3478:3478/udp
      - 10001:10001/udp
      - 8080:8080
      #      - 1900:1900/udp #optional
      - 8843:8843 #optional
      - 8880:8880 #optional
      - 6789:6789 #optional
      - 5514:5514/udp #optional
    restart: unless-stopped

  unifi-db:
    image: docker.io/mongo:latest
    container_name: unifi-db
    ports:
      - 27017:27017
    volumes:
      - /opt/unifi/data:/data/db
      - /opt/unifi/data/init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js:ro
    restart: unless-stopped

docker host

Container logs

https://paste.centos.org/view/9b55e164

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions