> For the complete documentation index, see [llms.txt](https://til.devjugal.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://til.devjugal.com/linux/check-open-port.md).

# Check Open Port

Command `nmap` can be used to scan an IP for open ports. The syntax for the same is given below -

```bash
nmap -Pn {IP_ADDRESS}
```

Replace `IP_ADDRESS` with the IP to be scanned.
