Port Forwarding URL Issue #3218

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

Originally created by @ahmedwael216 on GitHub (Sep 27, 2022).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

I installed book stack on a fresh Ubuntu server with the script.
on my local network it works flawlessly at 192.168.1.250.
But after setting up port forwarding on port 50000 and trying to go to http://{my router public IP}:50000 I find a connection timed out error message in the browser.

After a lot of digging with termshark and comparing capture files from connecting from inside the network and outside.
I found that when connecting from inside the local network the URI the base URI in the HTTP packets is "/login" and when connecting from outside the local network it's "/".
so I tried connecting to http://{my router public IP}:50000/login I reached bookstack but with the logos and images broken.
searching in the debugging webpage i found this but it just says I have a problem in my URL.

So..Any ideas??

Exact BookStack Version

22.09

Log Content

No response

PHP Version

8.1.2

Hosting Environment

Ubuntu 22.04.1 installed using official script

Originally created by @ahmedwael216 on GitHub (Sep 27, 2022). ### Attempted Debugging - [X] I have read the debugging page ### Searched GitHub Issues - [X] I have searched GitHub for the issue. ### Describe the Scenario I installed book stack on a fresh Ubuntu server with the script. on my local network it works flawlessly at 192.168.1.250. But after setting up port forwarding on port 50000 and trying to go to http://{my router public IP}:50000 I find a connection timed out error message in the browser. After a lot of digging with termshark and comparing capture files from connecting from inside the network and outside. I found that when connecting from inside the local network the URI the base URI in the HTTP packets is "/login" and when connecting from outside the local network it's "/". so I tried connecting to http://{my router public IP}:50000/login I reached bookstack but with the logos and images broken. searching in the debugging webpage i found [this](https://www.bookstackapp.com/docs/admin/debugging/#no-styles-and-large-icons-on-access) but it just says I have a problem in my URL. So..Any ideas?? ### Exact BookStack Version 22.09 ### Log Content _No response_ ### PHP Version 8.1.2 ### Hosting Environment Ubuntu 22.04.1 installed using official script
OVERLORD added the 🐕 Support label 2026-02-05 06:10:05 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3218