---
title: Checking ports are open and responding
description: "This guide shows basic **netstat** and **nc** command usage. Check established TCP connections to your server by typing **netstat -t** or **netstat -tn:** ![netstat-tcp.png](https://console.clouvider.co.uk/kb/netstat-tcp.png) Check open ports on your Linux server: ![netstat-listen.png](https://console.clouvider.co.uk/kb/netstat-listen.png) Connect to open port by using **netcat** (eg. port 80, HTTP server): ![netcat-check.png](https://console.clouvider.co.uk/kb/netcat-check.png)"
url: "https://www.clouvider.com/knowledge_base/checking-ports-are-open-and-responding/"
updated: "2021-12-23"
category: Guides / Networking
tags:
  - Linux
  - TCP
---

# Checking ports are open and responding

This guide shows basic **netstat** and **nc** command usage.

Check established TCP connections to your server by typing **netstat -t** or **netstat -tn:**

![netstat-tcp.png](https://console.clouvider.co.uk/kb/netstat-tcp.png)

Check open ports on your Linux server:

![netstat-listen.png](https://console.clouvider.co.uk/kb/netstat-listen.png)

Connect to open port by using **netcat** (eg. port 80, HTTP server):

![netcat-check.png](https://console.clouvider.co.uk/kb/netcat-check.png)
