# Ports 443/80 show as closed after installation

**URL:** <https://meta.discourse.org/t/ports-443-80-show-as-closed-after-installation/304600>\
**Category:** Self-hosting\
**Created:** [April 19, 2024, 10:06am UTC](https://meta.discourse.org/t/ports-443-80-show-as-closed-after-installation/304600 "2024-04-19T10:06:02Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Marek\_Wojtaszek](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marek_wojtaszek/32/380033_2.png) [@Marek\_Wojtaszek](https://meta.discourse.org/u/Marek_Wojtaszek)\
**Post date:** [April 19, 2024, 10:06am UTC](https://meta.discourse.org/t/ports-443-80-show-as-closed-after-installation/304600/1 "2024-04-19T10:06:02Z")

</div>

Hi,  
I have just finished my first Discourse installation on a Ubuntu 22.04.4 server on Proxmox VE (virtual environment).  
The installation went fine, with no errors, but after finishing it-- the forum site won’t open saying that the service is not accessible.

When checking from my network I see the ports as closed:

```plaintext
PS C:\Users\mwojt> nmap 192.168.131.211
Nmap scan report for 192.168.131.211

PORT STATE SERVICE
22/tcp open ssh
80/tcp closed http
443/tcp closed https

```

But when running the same for localhost from inside the Ubuntu machine it shows as open:

```plaintext
root@ubuntu-discourse:~# nmap localhost
Nmap scan report for localhost (127.0.0.1)

PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
443/tcp open https

```

However if I run the check the IP address from the same Ubuntu VM to the I see this:

```plaintext
root@ubuntu-discourse:~# nmap 192.168.131.211
Nmap scan report for ubuntu-discourse (192.168.131.211)

PORT STATE SERVICE
22/tcp open ssh
80/tcp filtered http
443/tcp filtered https

```

So, the ports show up as filtered.  
The ports were opened at the firewall:

```plaintext
root@ubuntu-discourse:~# ufw status
Status: active

To Action From
-- ------ ----
80 ALLOW Anywhere
443 ALLOW Anywhere
22 ALLOW Anywhere
80 (v6) ALLOW Anywhere (v6)
443 (v6) ALLOW Anywhere (v6)
22 (v6) ALLOW Anywhere (v6)

```

And the Docker port forwarding seems to be set correctly:

```plaintext
root@ubuntu-discourse:~# docker port 6922c7802903
80/tcp -> 0.0.0.0:80
80/tcp -> [::]:80
443/tcp -> 0.0.0.0:443
443/tcp -> [::]:443

```

What do I do wrong? Where is the problem?

---

_[View the full topic](https://meta.discourse.org/t/ports-443-80-show-as-closed-after-installation/304600)._
