Cannot connect to portainer on port 9000 or 9443 #843

Closed
opened 2026-02-04 21:50:39 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @shahab-cl on GitHub (Apr 23, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

ct/docker.sh

📂 What was the exact command used to execute the script?

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/docker.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

No response

📝 Provide a clear and concise description of the issue.

When prompted to install portainer, the image gets installed but port 9000 is not open.
I tried to curl to the open ports (8000, 9443) and they do not respond with portainer UI.

Is it possible to add port 9000 to the port mapping on
46ca78abc8/install/docker-install.sh (L37)

46ca78abc8/install/alpine-docker-install.sh (L43)

46ca78abc8/install/podman-homeassistant-install.sh (L57)

46ca78abc8/install/podman-install.sh (L57)

Also is it possile to open the git repo so others can create PR to fix issue.

🔄 Steps to reproduce the issue.

docker run -d
-p 8000:8000
-p 9000:9000
-p 9443:9443
...
to test if this works. I was not able to test using bask as portainer does not contain /bin/bash.

Paste the full error output (if available).

Trying to curl to the lxc server on port 9000

root@docker-lxc:~# curl http://192.168.1.245:9000

  • Trying 192.168.1.245:9000...
  • connect to 192.168.1.245 port 9000 failed: Connection refused
  • Failed to connect to 192.168.1.245 port 9000 after 0 ms: Couldn't connect to server
  • Closing connection 0
    curl: (7) Failed to connect to 192.168.1.245 port 9000 after 0 ms: Couldn't connect to server

root@docker-lxc:~# curl -vv http://192.168.1.245:9443 --insecure

  • Trying 192.168.1.245:9443...
  • Connected to 192.168.1.245 (192.168.1.245) port 9443 (#0)

GET / HTTP/1.1
Host: 192.168.1.245:9443
User-Agent: curl/7.88.1
Accept: /

  • HTTP 1.0, assume close after body
    < HTTP/1.0 400 Bad Request
    <
    Client sent an HTTP request to an HTTPS server.
  • Closing connection 0

root@docker-lxc:~# curl -vv http://192.168.1.245:8000

  • Trying 192.168.1.245:8000...
  • Connected to 192.168.1.245 (192.168.1.245) port 8000 (#0)

GET / HTTP/1.1
Host: 192.168.1.245:8000
User-Agent: curl/7.88.1
Accept: /

< HTTP/1.1 404 Not Found
< Date: Tue, 22 Apr 2025 22:39:41 GMT
< Content-Length: 9
< Content-Type: text/plain; charset=utf-8
<

  • Connection #0 to host 192.168.1.245 left intact
    Not foundroot@docker-lxc:~#

🖼️ Additional context (optional).

No response

Originally created by @shahab-cl on GitHub (Apr 23, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? ct/docker.sh ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/docker.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? _No response_ ### 📝 Provide a clear and concise description of the issue. When prompted to install portainer, the image gets installed but port 9000 is not open. I tried to curl to the open ports (8000, 9443) and they do not respond with portainer UI. Is it possible to add port 9000 to the port mapping on https://github.com/community-scripts/ProxmoxVE/blob/46ca78abc893f876e00b158f0f17ec7dc159722c/install/docker-install.sh#L37 https://github.com/community-scripts/ProxmoxVE/blob/46ca78abc893f876e00b158f0f17ec7dc159722c/install/alpine-docker-install.sh#L43 https://github.com/community-scripts/ProxmoxVE/blob/46ca78abc893f876e00b158f0f17ec7dc159722c/install/podman-homeassistant-install.sh#L57 https://github.com/community-scripts/ProxmoxVE/blob/46ca78abc893f876e00b158f0f17ec7dc159722c/install/podman-install.sh#L57 Also is it possile to open the git repo so others can create PR to fix issue. ### 🔄 Steps to reproduce the issue. docker run -d \ -p 8000:8000 \ -p 9000:9000 \ -p 9443:9443 \ ... to test if this works. I was not able to test using bask as portainer does not contain /bin/bash. ### ❌ Paste the full error output (if available). Trying to curl to the lxc server on port 9000 root@docker-lxc:~# curl http://192.168.1.245:9000 * Trying 192.168.1.245:9000... * connect to 192.168.1.245 port 9000 failed: Connection refused * Failed to connect to 192.168.1.245 port 9000 after 0 ms: Couldn't connect to server * Closing connection 0 curl: (7) Failed to connect to 192.168.1.245 port 9000 after 0 ms: Couldn't connect to server root@docker-lxc:~# curl -vv http://192.168.1.245:9443 --insecure * Trying 192.168.1.245:9443... * Connected to 192.168.1.245 (192.168.1.245) port 9443 (#0) > GET / HTTP/1.1 > Host: 192.168.1.245:9443 > User-Agent: curl/7.88.1 > Accept: */* > * HTTP 1.0, assume close after body < HTTP/1.0 400 Bad Request < Client sent an HTTP request to an HTTPS server. * Closing connection 0 root@docker-lxc:~# curl -vv http://192.168.1.245:8000 * Trying 192.168.1.245:8000... * Connected to 192.168.1.245 (192.168.1.245) port 8000 (#0) > GET / HTTP/1.1 > Host: 192.168.1.245:8000 > User-Agent: curl/7.88.1 > Accept: */* > < HTTP/1.1 404 Not Found < Date: Tue, 22 Apr 2025 22:39:41 GMT < Content-Length: 9 < Content-Type: text/plain; charset=utf-8 < * Connection #0 to host 192.168.1.245 left intact Not foundroot@docker-lxc:~# ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-04 21:50:39 +03:00
Author
Owner

@tremor021 commented on GitHub (Apr 23, 2025):

Portainer runs on HTTPS port 9443:

Image

Image

Image

@tremor021 commented on GitHub (Apr 23, 2025): Portainer runs on HTTPS port 9443: ![Image](https://github.com/user-attachments/assets/5885e924-85fb-4542-af17-277b6b401d11) ![Image](https://github.com/user-attachments/assets/56f5e8f3-fc15-4c7f-a805-fae3d82ed260) ![Image](https://github.com/user-attachments/assets/0d69b309-c95a-4838-839c-628d7288c983)
Author
Owner

@michelroegl-brunner commented on GitHub (Apr 23, 2025):

Also is it possile to open the git repo so others can create PR to fix issue.

You can always fork the repo and propose fixes with a PR.

@michelroegl-brunner commented on GitHub (Apr 23, 2025): > Also is it possile to open the git repo so others can create PR to fix issue. You can always fork the repo and propose fixes with a PR.
Author
Owner

@shahab-cl commented on GitHub (Apr 23, 2025):

The image I was running did not have portioned running on 9443. Pls see my
curl result.

Shahab Khan
Cubicle Logic
Main: 571-636-1200
Cell: +1-703-861-6397
Email: @.***

Bringing people and technology together

PLEASE CONSIDER OUR ENVIRONMENT BEFORE PRINTING

On Tue, Apr 22, 2025, 6:56 PM Slaviša Arežina @.***>
wrote:

Portainer runs on HTTPS port 9443:

image.png (view on web)
https://github.com/user-attachments/assets/5885e924-85fb-4542-af17-277b6b401d11

image.png (view on web)
https://github.com/user-attachments/assets/56f5e8f3-fc15-4c7f-a805-fae3d82ed260

image.png (view on web)
https://github.com/user-attachments/assets/0d69b309-c95a-4838-839c-628d7288c983


Reply to this email directly, view it on GitHub
https://github.com/community-scripts/ProxmoxVE/issues/3991#issuecomment-2822646015,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAE64ZWSKT64ZWRE6XHTD7T223CITAVCNFSM6AAAAAB3U24S5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMRSGY2DMMBRGU
.
You are receiving this because you authored the thread.Message ID:
@.***>
tremor021 left a comment (community-scripts/ProxmoxVE#3991)
https://github.com/community-scripts/ProxmoxVE/issues/3991#issuecomment-2822646015

Portainer runs on HTTPS port 9443:

image.png (view on web)
https://github.com/user-attachments/assets/5885e924-85fb-4542-af17-277b6b401d11

image.png (view on web)
https://github.com/user-attachments/assets/56f5e8f3-fc15-4c7f-a805-fae3d82ed260

image.png (view on web)
https://github.com/user-attachments/assets/0d69b309-c95a-4838-839c-628d7288c983


Reply to this email directly, view it on GitHub
https://github.com/community-scripts/ProxmoxVE/issues/3991#issuecomment-2822646015,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAE64ZWSKT64ZWRE6XHTD7T223CITAVCNFSM6AAAAAB3U24S5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMRSGY2DMMBRGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

@shahab-cl commented on GitHub (Apr 23, 2025): The image I was running did not have portioned running on 9443. Pls see my curl result. Shahab Khan Cubicle Logic Main: 571-636-1200 Cell: +1-703-861-6397 Email: ***@***.*** Bringing people and technology together ----------------------------- PLEASE CONSIDER OUR ENVIRONMENT BEFORE PRINTING On Tue, Apr 22, 2025, 6:56 PM Slaviša Arežina ***@***.***> wrote: > Portainer runs on HTTPS port 9443: > > image.png (view on web) > <https://github.com/user-attachments/assets/5885e924-85fb-4542-af17-277b6b401d11> > > image.png (view on web) > <https://github.com/user-attachments/assets/56f5e8f3-fc15-4c7f-a805-fae3d82ed260> > > image.png (view on web) > <https://github.com/user-attachments/assets/0d69b309-c95a-4838-839c-628d7288c983> > > — > Reply to this email directly, view it on GitHub > <https://github.com/community-scripts/ProxmoxVE/issues/3991#issuecomment-2822646015>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AAE64ZWSKT64ZWRE6XHTD7T223CITAVCNFSM6AAAAAB3U24S5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMRSGY2DMMBRGU> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> > *tremor021* left a comment (community-scripts/ProxmoxVE#3991) > <https://github.com/community-scripts/ProxmoxVE/issues/3991#issuecomment-2822646015> > > Portainer runs on HTTPS port 9443: > > image.png (view on web) > <https://github.com/user-attachments/assets/5885e924-85fb-4542-af17-277b6b401d11> > > image.png (view on web) > <https://github.com/user-attachments/assets/56f5e8f3-fc15-4c7f-a805-fae3d82ed260> > > image.png (view on web) > <https://github.com/user-attachments/assets/0d69b309-c95a-4838-839c-628d7288c983> > > — > Reply to this email directly, view it on GitHub > <https://github.com/community-scripts/ProxmoxVE/issues/3991#issuecomment-2822646015>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AAE64ZWSKT64ZWRE6XHTD7T223CITAVCNFSM6AAAAAB3U24S5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMRSGY2DMMBRGU> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Author
Owner

@MickLesk commented on GitHub (Apr 23, 2025):

Portainer is only 10min after install available. Its defintly not an Script issue

Port mapping is correct to ->>8000 || 9443

You can do an docker ps and docker logs

@MickLesk commented on GitHub (Apr 23, 2025): Portainer is only 10min after install available. Its defintly not an Script issue Port mapping is correct to ->>8000 || 9443 You can do an docker ps and docker logs
Author
Owner

@tremor021 commented on GitHub (Apr 23, 2025):

Portainer is only 10min after install available. Its defintly not an Script issue

Port mapping is correct to ->>8000 || 9443

You can do an docker ps and docker logs

Its actually 5 minutes, according to their docs. You have to make a admin account in 5 minutes time or container goes inactive

@tremor021 commented on GitHub (Apr 23, 2025): > Portainer is only 10min after install available. Its defintly not an Script issue > > Port mapping is correct to ->>8000 || 9443 > > You can do an docker ps and docker logs Its actually 5 minutes, according to their docs. You have to make a admin account in 5 minutes time or container goes inactive
Author
Owner

@MickLesk commented on GitHub (Apr 23, 2025):

Or something ^^ I think it used to be 10 minutes, now it's 5

@MickLesk commented on GitHub (Apr 23, 2025): Or something ^^ I think it used to be 10 minutes, now it's 5
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#843