---
title: Connecting to Diffusion on Port 80
description: Connecting to Diffusion over port 80 instead of 8080 is a common request. This guide will work through a resolution to this problem.
---

[Skip to content](https://support.diffusiondata.com/knowledge/connecting-to-diffusion-on-port-80#main-content)

English

Show submenu for translations

[Contact Customer Support](https://support.diffusiondata.com/knowledge/kb-tickets/new?hsLang=en) [Customer portal](https://support.diffusiondata.com/tickets-view?hsLang=en)

[![DiffusionData Logo](https://support.diffusiondata.com/hs-fs/hubfs/DiffusionData-Logo-Primary-Trimmed.png?width=445&height=64&name=DiffusionData-Logo-Primary-Trimmed.png)](https://www.diffusiondata.com)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [Contact Customer Support](https://support.diffusiondata.com/knowledge/kb-tickets/new)
- [Customer portal](https://support.diffusiondata.com/tickets-view)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Help Center](https://support.diffusiondata.com/knowledge?hsLang=en)
2. [Administer](https://support.diffusiondata.com/knowledge/administer?hsLang=en)

# Connecting to Diffusion on Port 80

Connecting to Diffusion over port 80 instead of 8080 is a common request. This guide will work through a resolution to this problem.

### Problem

You have a UNIX server and you would like your Diffusion server to be accessible over port 80 instead of 8080. This presents some problems.

- On UNIX any ports lower than 1024 are privileged. Services using these ports must be run as root.
- It is not recommended that Diffusion is run as root – therefore it cannot listen to any of the ports 80 (http) or 443 (https)
- However externally you would like Diffusion accessible over these ports.

### Resolution

iptables are used to re-route traffic from port 80 to 8080, and port 443 to 8443 1. The following command will configure the machine to accept incoming connections to port 80.

```
iptables -A INPUT -i eth0 -p tcp --dport 80 -j ACCEPT
```

2\. The following will do the same for port 8080.

```
iptables -A INPUT -i eth0 -p tcp --dport 8080 -j ACCEPT
```

3\. The final command will perform the rerouting.

```
iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
```

These steps can then be repeated for ports 443 and 8443.

**Warning: The iptables command is reserved for the root user. Please double check each command before submitting it as the impact for errors is high.**

- [Administer](https://support.diffusiondata.com/knowledge/administer?hsLang=en)
- [Build](https://support.diffusiondata.com/knowledge/build?hsLang=en)
- [Getting Started](https://support.diffusiondata.com/knowledge/getting-started?hsLang=en)
- [Install & Upgrades](https://support.diffusiondata.com/knowledge/install-upgrades?hsLang=en)
- [Management & Monitoring](https://support.diffusiondata.com/knowledge/management-monitoring?hsLang=en)
- [Security](https://support.diffusiondata.com/knowledge/security?hsLang=en)
- [Support](https://support.diffusiondata.com/knowledge/support?hsLang=en)
- [Troubleshooting](https://support.diffusiondata.com/knowledge/troubleshooting?hsLang=en)
- [Cloud](https://support.diffusiondata.com/knowledge/cloud?hsLang=en)

[![Chill listening crop-3](https://support.diffusiondata.com/hs-fs/hubfs/DiffusionData%20Favicon.png?width=24&height=24&name=DiffusionData%20Favicon.png "Chill listening crop-3")](http://diffusiondata.com)

diffusiondata.com Help Center

Copyright © 2026, DiffusionData