Title: Check Open Ports Description: Check a device you own or are authorized to test for responding network ports. URL: /v2.1/wifi/port-scanning/ Version: v2.1 Section: Wi-Fi Search index: /search-index.json # Check Open Ports > Check a device you own or are authorized to test for responding network ports. ## On this page - [What this does](#what-this-does) - [Before you start](#before-you-start) - [On-device steps](#on-device-steps) - [CLI steps](#cli-steps) - [Expected result](#expected-result) - [Troubleshooting](#troubleshooting) - [Related tasks](#related-tasks) --- ## What this does Port scanning checks which network ports on an authorized device respond to connection attempts. Use it to inventory services on your own network. ## Before you start - Connect GhostESP to the same network as the device. - Identify the device with [LAN discovery](/v2.1/wifi/lan-discovery/). - Only scan devices you own or have explicit permission to test. ## On-device steps - Select a discovered device with Select LAN. - Choose Scan Open Ports. - Review the responding ports. ## CLI steps - Run scanports <ip> to check a specific device. - Add all to check all ports, or a range such as 20-1024 to limit the scan. - Run scanssh <ip> to check whether SSH responds on the device. ## Expected result GhostESP lists ports that respond. A missing result does not prove that a service is absent; firewalls and network policy can block scans. ## Troubleshooting - No ports respond: Confirm the IP address, network connection, and whether the device has a firewall. - The wrong device is scanned: Run LAN discovery again and verify the IP address before retrying. - The scan is slow: Limit the port range to the services you need to inspect. ## Related tasks - [Find devices on your Wi-Fi network](/v2.1/wifi/lan-discovery/) - [Connect to a Wi-Fi network](/v2.1/wifi/connect/)