Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing ports doesn't seem to be working #84

Open
wsanders00 opened this issue Jan 20, 2023 · 1 comment
Open

Changing ports doesn't seem to be working #84

wsanders00 opened this issue Jan 20, 2023 · 1 comment

Comments

@wsanders00
Copy link

Trying to change port assignments from 443 -> 9443 doesn't seem to be working

Run command:

podman run -d \
  --name=uisp \
  --restart=unless-stopped \
  -e PUBLIC_HTTPS_PORT=9443 \
  -e PUBLIC_WS_PORT=9443 \
  -e HTTPS_PORT=9443 \
  -e HTTP_PORT=9080 \
  -p 9080:9080 \
  -p 9443:9443 \
  -p 2055:2055/udp \
  -e TZ='America/New_York' \
  -v ~/uisp:/config:Z \
  nico640/docker-unms:latest

Trying to visit, I get "Secure connection failed. However, if I run as:

podman run -d \
  --name uisp \
  --restart=unless-stopped \
  -e PUBLIC_HTTPS_PORT=9443 \
  -e PUBLIC_WS_PORT=9443 \
  -e HTTPS_PORT=9443 \
  -e HTTP_PORT=9080 \
  -p 9443:9443 \
  -p 9080:9080 \
  -p 8444:443 \
  -p 8081:80 \
  -p 2055:2055/udp \
  -e TZ='America/New_York' \
  -v ~/uisp:/config:Z \
  nico640/docker-unms:latest

I can view the application at :8444

:9443 is listed in both:
semanage port -l | grep http_port_t
firewall-cmd --list-all

@Nico640
Copy link
Owner

Nico640 commented Jan 22, 2023

Sounds like the nginx config doesn't get updated correctly. Can you try to execute /refresh-configuration.sh in the container and see what it retuns?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants