well for me looks like all ok with network and fo firewalls at all on system, selinux also disabled
- docker network inspect onlyoffice
[
{
âNameâ: âonlyofficeâ,
âIdâ: â0fdda53e731dc0a4f30186620e8566ea9ef72f2cf12842828818aa46487ccefdâ,
âCreatedâ: â2024-07-03T18:22:27.486886356+05:00â,
âScopeâ: âlocalâ,
âDriverâ: âbridgeâ,
âEnableIPv6â: false,
âIPAMâ: {
âDriverâ: âdefaultâ,
âOptionsâ: {},
âConfigâ: [
{
âSubnetâ: â172.18.0.0/16â,
âGatewayâ: â172.18.0.1â
}
]
},
âInternalâ: false,
âAttachableâ: false,
âIngressâ: false,
âConfigFromâ: {
âNetworkâ: ââ
},
âConfigOnlyâ: false,
âContainersâ: {
â251a878617487fc04fba0f8f99d161b3021f48b55051b8c34ac69a70b57ad5bfâ: {
âNameâ: âonlyoffice-elasticsearchâ,
âEndpointIDâ: âf1adc12596c7511f97013f3d366f6895c3f29bb2afe078ce953dc4426a86f696â,
âMacAddressâ: â02:42:ac:12:00:05â,
âIPv4Addressâ: â172.18.0.5/16â,
âIPv6Addressâ: ââ
},
âb6e1902997468c35fbf51b896e7d94d47d6774801311a8c2408c27f6b9b10c60â: {
âNameâ: âonlyoffice-document-serverâ,
âEndpointIDâ: âafa2e1782e84ebd3c7c9608da744a4579b1fd1cb293fb5ff2dca3314255679c4â,
âMacAddressâ: â02:42:ac:12:00:03â,
âIPv4Addressâ: â172.18.0.3/16â,
âIPv6Addressâ: ââ
},
âba986bc03e2eca1a8a39a0c4345d85d225b8dc095d8957442ef2a6786afa51e4â: {
âNameâ: âonlyoffice-community-serverâ,
âEndpointIDâ: âa0cc62b72cacb51edaee5955c6327bf059a7eaf61db5ae25c5e95dc82118ad21â,
âMacAddressâ: â02:42:ac:12:00:06â,
âIPv4Addressâ: â172.18.0.6/16â,
âIPv6Addressâ: ââ
},
âc4bcfe6054aea3eb14f51266aa2909fdbaec28379ac3977b6fbb7763e7d091fcâ: {
âNameâ: âonlyoffice-mysql-serverâ,
âEndpointIDâ: â54bf9baa1fc83c69e7a7d80a9d40df264295128def600bfd9fda37602e3fd750â,
âMacAddressâ: â02:42:ac:12:00:04â,
âIPv4Addressâ: â172.18.0.4/16â,
âIPv6Addressâ: ââ
},
âf878ea4f02c2e051c7cd69e2f5d4dc627b32269cb2ed4b2794404167cb9101a8â: {
âNameâ: âonlyoffice-control-panelâ,
âEndpointIDâ: â3e92605f1191e03c502c46fc5b022d323dfa57be2e92c59a6a8e872e43625b23â,
âMacAddressâ: â02:42:ac:12:00:02â,
âIPv4Addressâ: â172.18.0.2/16â,
âIPv6Addressâ: ââ
}
},
âOptionsâ: {},
âLabelsâ: {}
}
]
-
docker inspect -f â{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}â onlyoffice-community-server
172.18.0.6
3. docker exec -it onlyoffice-community-server curl http://localhost
nothing happens. timeouting
4. curl http://172.18.0.6
the same. nothing happens
5. sudo iptables -L
> Chain INPUT (policy ACCEPT)
> target prot opt source destination
>
> Chain FORWARD (policy DROP)
> target prot opt source destination
> DOCKER-USER all -- anywhere anywhere
> DOCKER-ISOLATION-STAGE-1 all -- anywhere anywhere
> ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
> DOCKER all -- anywhere anywhere
> ACCEPT all -- anywhere anywhere
> ACCEPT all -- anywhere anywhere
> ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
> DOCKER all -- anywhere anywhere
> ACCEPT all -- anywhere anywhere
> ACCEPT all -- anywhere anywhere
>
> Chain OUTPUT (policy ACCEPT)
> target prot opt source destination
>
> Chain DOCKER (2 references)
> target prot opt source destination
> ACCEPT tcp -- anywhere 172.18.0.6 tcp dpt:xmpp-client
> ACCEPT tcp -- anywhere 172.18.0.6 tcp dpt:https
> ACCEPT tcp -- anywhere 172.18.0.6 tcp dpt:http
>
> Chain DOCKER-ISOLATION-STAGE-1 (1 references)
> target prot opt source destination
> DOCKER-ISOLATION-STAGE-2 all -- anywhere anywhere
> DOCKER-ISOLATION-STAGE-2 all -- anywhere anywhere
> RETURN all -- anywhere anywhere
>
> Chain DOCKER-ISOLATION-STAGE-2 (2 references)
> target prot opt source destination
> DROP all -- anywhere anywhere
> DROP all -- anywhere anywhere
> RETURN all -- anywhere anywhere
>
> Chain DOCKER-USER (1 references)
> target prot opt source destination
> RETURN all -- anywhere anywhere
5.1 i dont have ufw at all.
6. route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 0.0.0.0 192.168.6.254 0.0.0.0 UG 100 0 0 eth0
> 172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
> 172.18.0.0 0.0.0.0 255.255.0.0 U 0 0 0 br-0fdda53e731d
> 192.168.6.0 0.0.0.0 255.255.255.0 U 100 0 0 eth0
7. ip a
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 scope host lo
> valid_lft forever preferred_lft forever
> inet6 ::1/128 scope host
> valid_lft forever preferred_lft forever
> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
> link/ether 00:15:5d:dc:cd:8b brd ff:ff:ff:ff:ff:ff
> inet 192.168.6.15/24 brd 192.168.6.255 scope global dynamic noprefixroute eth0
> valid_lft 689511sec preferred_lft 689511sec
> inet6 fe80::215:5dff:fedc:cd8b/64 scope link noprefixroute
> valid_lft forever preferred_lft forever
> 3: br-0fdda53e731d: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
> link/ether 02:42:5c:49:f1:1e brd ff:ff:ff:ff:ff:ff
> inet 172.18.0.1/16 brd 172.18.255.255 scope global br-0fdda53e731d
> valid_lft forever preferred_lft forever
> inet6 fe80::42:5cff:fe49:f11e/64 scope link
> valid_lft forever preferred_lft forever
> 4: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
> link/ether 02:42:da:db:8c:8e brd ff:ff:ff:ff:ff:ff
> inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
> valid_lft forever preferred_lft forever
> 6: veth35fbe09@if5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-0fdda53e731d state UP group default
> link/ether 1e:9c:76:21:55:e4 brd ff:ff:ff:ff:ff:ff link-netnsid 0
> inet6 fe80::1c9c:76ff:fe21:55e4/64 scope link
> valid_lft forever preferred_lft forever
> 8: vethed6ae29@if7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-0fdda53e731d state UP group default
> link/ether 56:35:fd:52:cc:ae brd ff:ff:ff:ff:ff:ff link-netnsid 1
> inet6 fe80::5435:fdff:fe52:ccae/64 scope link
> valid_lft forever preferred_lft forever
> 12: vetha830a04@if11: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-0fdda53e731d state UP group default
> link/ether 42:82:df:75:07:42 brd ff:ff:ff:ff:ff:ff link-netnsid 3
> inet6 fe80::4082:dfff:fe75:742/64 scope link
> valid_lft forever preferred_lft forever
> 14: veth4729749@if13: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-0fdda53e731d state UP group default
> link/ether 9e:3b:54:d5:82:3a brd ff:ff:ff:ff:ff:ff link-netnsid 4
> inet6 fe80::9c3b:54ff:fed5:823a/64 scope link
> valid_lft forever preferred_lft forever
> 18: vethb1504ad@if17: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-0fdda53e731d state UP group default
> link/ether 22:be:05:34:ee:06 brd ff:ff:ff:ff:ff:ff link-netnsid 2
> inet6 fe80::20be:5ff:fe34:ee06/64 scope link
> valid_lft forever preferred_lft forever