---
title: 'other:port'
url: 'https://docs.danami.com/juggernaut/command-line-interface/other/other-port'
markdown: 'https://docs.danami.com/juggernaut/command-line-interface/other/other-port.md'
date: '2026-10-07'
description: 'Configure port settings for use by the login failure daemon. juggernaut --task=other:port Option Value Default Description --PORTS_sshd <string1,string2> 22 The port numbers for sshd. --PORTS_ftpd <string1,string2> 20,21 The port numbers for ftpd. --PORTS_smtpauth <string1…'
taxonomy:
  category:
    - docs
  tag:
    - ports
---

[](#)  [ Basics ](https://docs.danami.com/juggernaut/)     [ Command Line Interface ](https://docs.danami.com/juggernaut/command-line-interface)      Other       other:port    

# other:port

Configure port settings for use by the login failure daemon.

```
juggernaut --task=other:port
```

| Option | Value | Default | Description |
|---|---|---|---|
| `--PORTS_sshd` | <string1,string2> | 22 | The port numbers for sshd. |
| `--PORTS_ftpd` | <string1,string2> | 20,21 | The port numbers for ftpd. |
| `--PORTS_smtpauth` | <string1,string2> | 25,465,587 | The port numbers for smtpauth. |
| `--PORTS_pop3d` | <string1,string2> | 110,995 | The port numbers for pop3d. |
| `--PORTS_imapd` | <string1,string2> | 143,993 | The port numbers for imapd. |
| `--PORTS_htpasswd` | <string1,string2> | 80,443,7080,7081 | The port numbers for htpasswd. |
| `--PORTS_mod_security` | <string1,string2> | 80,443,7080,7081 | The port numbers for mod\_security. |
| `--PORTS_mod_qos` | <string1,string2> | 80,443,7080,7081 | The port numbers for mod\_qos. |
| `--PORTS_bind` | <string1,string2> | 53;udp,53;tcp | The port numbers for bind. |
| `--default` | <yes> |  | Reset all settings to their default values. |
| `--default_option` | <option> |  | Reset a specific setting to its default value. |
| `--restart` | <yes> |  | Restart the service after saving settings. |

## Examples

```
// set PORTS_sshd
juggernaut --task=other:port --PORTS_sshd=2288 --restart=yes

// reset PORTS_sshd back to default
juggernaut --task=other:port --default_option=PORTS_sshd --restart=yes

// reset all settings back to default
juggernaut --task=other:port --default=yes --restart=yes

// track Plesk panel port 8443 for htpasswd login failures
juggernaut --task=other:port --PORTS_htpasswd=80,443,7080,7081,8443 --restart=yes
```

## Related Pages

- [Port Settings](https://docs.danami.com/juggernaut/settings/other/port-settings "Port Settings")
- [Port Settings](https://docs.danami.com/juggernaut/settings/firewall/port-settings "Port Settings")
- [Plesk Firewall Port Numbers](https://docs.danami.com/juggernaut/misc/plesk-firewall-port-numbers "Plesk Firewall Port Numbers")

 [ ](https://docs.danami.com/juggernaut/command-line-interface/firewall/firewall-port) [](https://docs.danami.com/juggernaut/settings/firewall/port-settings)

---

## Navigation

- Previous: [other:loglocations](https://docs.danami.com/juggernaut/command-line-interface/other/other-loglocations.md)
