# Port forwarding, which public port?

**URL:** https://dietpi.com/forum/t/port-forwarding-which-public-port/5101
**Category:** Troubleshooting
**Created:** [12 March 2021 09:58 UTC](https://dietpi.com/forum/t/port-forwarding-which-public-port/5101 "2021-03-12T09:58:35Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [12 March 2021 11:30 UTC](https://dietpi.com/forum/t/port-forwarding-which-public-port/5101/4 "2021-03-12T11:30:13Z")

</div>

usually it should be 80 and 443.

80 would be normal http while 443 is https.

In past I created a how-to for setup secure connection for a NextCloud web site. [https://dietpi.com/forum/t/how-can-i-secure-connection-to-nextcloud/3820/4](https://dietpi.com/forum/t/how-can-i-secure-connection-to-nextcloud/3820/4)

Basically it should work same for other web sites as well

---

_[View the full topic](https://dietpi.com/forum/t/port-forwarding-which-public-port/5101)._
