BookStack is not available to me from host machines on the network #3269

Closed
opened 2026-02-05 06:13:08 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @Kostosso on GitHub (Oct 10, 2022).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

Good afternoon,

Help me to understand. Please!!!

I have a network 192.168.1.0/24
I have Ubuntu Server (192.168.1.230)
Host (win 10) 192.168.1.120

Operating System: Ubuntu 22.04.1 LTS
Kernel: Linux 5.15.0-48-generic
Architecture: x86-64width: 64 bits;
Product: Intel(R) Celeron(R) J4105 CPU @ 1.50GHz; size: 8GiB

I have Docker installed:

Client: Docker Engine - Community
Version: 20.10.18
API version: 1.41
Go version: go1.18.6
Git commit: b40c2f6
Built: Thu Sep 8 23:11:43 2022
OS/Arch: linux/amd64
Context: default
experimental: true

Server: Docker Engine - Community
engine:
Version: 20.10.17
API version: 1.41 (minimum version 1.12)

Portainer Community Edition 2.15.1

I installed BookStack linuxserver/docker-bookstackdocker 5 days ago (not latest version. Last update was 3 days ago).
I used Stack file for installation. Here he is:


version: "2"
services:
bookstack:
image: lscr.io/linuxserver/bookstack
container_name: bookstack
environment:
- PUID=1000
- PGID=1000
- APP_URL=
- DB_HOST=bookstack_db
- DB_USER=bookstack
- DB_PASS= constantin
- DB_DATABASE=bookstackapp
volumes:
- /path/to/data:/config
ports:
- 6875:80
restart: unless-stopped
depends_on:
- bookstack_db
bookstack_db:
image: lscr.io/linuxserver/mariadb
container_name: bookstack_db
environment:
- PUID=1000
- PGID=1000
- MYSQL_ROOT_PASSWORD=
- TZ=Europe/Paris
- MYSQL_DATABASE=bookstackapp
- MYSQL_USER=bookstack
- MYSQL_PASSWORD=constantin
volumes:
- /path/to/data:/config
restart: unless-stopped

I get 2 bookstack and bookstack_db containers working.

I am trying to access 192.168.1.230:6875 from HOST. Instead, I get: "Can't access the site. Site 46.188.93.35 cannot connect."

Help me figure out why BookStack is not available to me from host machines on the network? I can't open it from any address on the network.

(I even wrote:
iptables -t nat -A POSTROUTING -s 172.17.0.3 ! -d 192.168.1.1/24 -j MASQUERADE
After that, the hostes of my network became available to me from the bookstack container.) But I still don’t see the BookStack from the network
Help me please!!!

Exact BookStack Version

v22.09.1-ls42

Log Content

No response

PHP Version

No response

Hosting Environment

Ubuntu 22.04.1 LTS
Kernel: Linux 5.15.0-48-generic

Originally created by @Kostosso on GitHub (Oct 10, 2022). ### Attempted Debugging - [X] I have read the debugging page ### Searched GitHub Issues - [X] I have searched GitHub for the issue. ### Describe the Scenario Good afternoon, Help me to understand. Please!!! I have a network 192.168.1.0/24 I have Ubuntu Server (192.168.1.230) Host (win 10) 192.168.1.120 Operating System: Ubuntu 22.04.1 LTS Kernel: Linux 5.15.0-48-generic Architecture: x86-64width: 64 bits; Product: Intel(R) Celeron(R) J4105 CPU @ 1.50GHz; size: 8GiB I have Docker installed: Client: Docker Engine - Community Version: 20.10.18 API version: 1.41 Go version: go1.18.6 Git commit: b40c2f6 Built: Thu Sep 8 23:11:43 2022 OS/Arch: linux/amd64 Context: default experimental: true Server: Docker Engine - Community engine: Version: 20.10.17 API version: 1.41 (minimum version 1.12) Portainer Community Edition 2.15.1 I installed BookStack linuxserver/docker-bookstackdocker 5 days ago (not latest version. Last update was 3 days ago). I used Stack file for installation. Here he is: --- version: "2" services: bookstack: image: lscr.io/linuxserver/bookstack container_name: bookstack environment: - PUID=1000 - PGID=1000 - APP_URL= - DB_HOST=bookstack_db - DB_USER=bookstack - DB_PASS= constantin - DB_DATABASE=bookstackapp volumes: - /path/to/data:/config ports: - 6875:80 restart: unless-stopped depends_on: - bookstack_db bookstack_db: image: lscr.io/linuxserver/mariadb container_name: bookstack_db environment: - PUID=1000 - PGID=1000 - MYSQL_ROOT_PASSWORD=<yourdbpass> - TZ=Europe/Paris - MYSQL_DATABASE=bookstackapp - MYSQL_USER=bookstack - MYSQL_PASSWORD=constantin volumes: - /path/to/data:/config restart: unless-stopped I get 2 bookstack and bookstack_db containers working. I am trying to access 192.168.1.230:6875 from HOST. Instead, I get: "Can't access the site. Site 46.188.93.35 cannot connect." Help me figure out why BookStack is not available to me from host machines on the network? I can't open it from any address on the network. (I even wrote: iptables -t nat -A POSTROUTING -s 172.17.0.3 ! -d 192.168.1.1/24 -j MASQUERADE After that, the hostes of my network became available to me from the bookstack container.) But I still don’t see the BookStack from the network Help me please!!! ### Exact BookStack Version v22.09.1-ls42 ### Log Content _No response_ ### PHP Version _No response_ ### Hosting Environment Ubuntu 22.04.1 LTS Kernel: Linux 5.15.0-48-generic
OVERLORD added the 🐕 Support label 2026-02-05 06:13:08 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3269