Ticket: Localhost Port 5000 Access Issue

@bitevy Just created a ticket
Question: Localhost installation. Cannot access on port 5000.
Attempted: Changed docker-compose env variable to MAIN_URL: "http://localhost:5000" FRONTEND_URL: "http://localhost:4200" NEXT_PUBLIC_BACKEND_URL: "http://localhost:3000/api"
Working On: Localhost installation
Using Postiz On: Docker-compose
Take it from here @Postiz
5 Replies
bitevy
bitevy5d ago
Ok I changes the env to MAIN_URL: "http://localhost:5000" FRONTEND_URL: "http://localhost:5000" NEXT_PUBLIC_BACKEND_URL: "http://localhost:5000/api" But I am getting this error
Access to localhost was denied
You don't have authorization to view this page.
HTTP ERROR 403
Access to localhost was denied
You don't have authorization to view this page.
HTTP ERROR 403
m4rk
m4rk5d ago
HowTo Self Host Postiz on Ubuntu (on Proxmox VE)
This blog is about security and computing related topics with occassional hobby activities thrown in.
Drew
Drew5d ago
I’m having a similar issue. I changed to localhost:5000 and I get a “TypeError:NetworkError” the Alan Bonnici writeup… They lost me at QEMU. I have to set up a vm and virtualize an environment to demo this?
bitevy
bitevy5d ago
I realized port 5000 is blocked by some other service. I got it working by changing the ports

MAIN_URL: "http://localhost:8080" # Base URL for Postiz
FRONTEND_URL: "http://localhost:8080" # URL for the frontend
NEXT_PUBLIC_BACKEND_URL: "http://localhost:8080/api" # Backend API URL

MAIN_URL: "http://localhost:8080" # Base URL for Postiz
FRONTEND_URL: "http://localhost:8080" # URL for the frontend
NEXT_PUBLIC_BACKEND_URL: "http://localhost:8080/api" # Backend API URL
and Ports to
ports:
- 8080:5000
ports:
- 8080:5000
I agree with the blog article it's confusing for a simple local machine setup.
m4rk
m4rk2d ago
You don’t need to create a virtual machine for this to work ( although I’ll recommend it ) If you don’t need a machine just follow instructions starting at the docker install It’s basically copy and paste

Did you find this page helpful?