Port Checker
Check for open ports and verify port forwarding setup on your router.
What is Port Checker ?
Port Checker is a simple and free online tool for checking open ports on your computer/device, often useful in testing port forwarding settings on a router. For instance, if you're facing connection issues with a program (email, IM client etc) then it may be possible that the port required by the application is getting blocked by your router's firewall or your ISP. In such cases, this tool might help you in diagnosing any problem with firewall setup. You could also find this useful for security purpose, in case you're not sure whether a particular port is open or closed. If you host and play games like Minecraft, use this checker to make sure the server port(25565) is configured properly for port forwarding, then only your friends will be able to connect to your server.
Most Commonly Used Ports
Port numbers ranges from 1 to 65535, out of which well known ports are pre-defined as convention by IANA.
- 0-1023 - Well known ports (HTTP, SMTP, DHCP, FTP etc)
- 1024-49151 - Reserved Ports
- 49152-65535 - Dynamic/Private Ports
Well known ports
- 20 & 21 - FTP (File Transfer Protocol)
- 22 - SSH (Secure Shell)
- 23 - Telnet, a Remote Login Service
- 25 - SMTP (Simple Mail Transfer Protocol)
- 53 - DNS (Domain Name System)
- 80 - HTTP (Hypertext Transfer Protocol)
- 110 - POP3 (Post Office Protocol 3)
- 115 - SFTP (Secure File Transfer Protocol)
- 123 - NTP (Network Time Protocol)
- 143 - IMAP (Internet Message Access Protocol)
- 161 - SNMP (Simple Network Management Protocol
- 194 - IRC (Internet Relay Chat)
- 443 - SSL / HTTPS (Hypertext Transfer Protocol Secure)
- 445 - SMB
- 465 - SMTPS (Simple Mail Transfer Protocol over SSL)
- 554 - RTSP (Real Time Stream Control Protocol)
- 873 - RSYNC (RSYNC File Transfer Services)
- 993 - IMAPS (Internet Message Access Protocol over SSL)
- 995 - POP3S (Post Office Protocol 3 over SSL)
- 3389 - RDP (Remote Desktop Protocol)
- 5631 - PC Anywhere
- 3306 - MySQL
- 5432 - PostgreSQL
- 5900 - VNC
- 6379 - Redis
- 11211 - Memcached
- 25565- Minecraft
If you're looking for a full list of port numbers check out this wikipedia page. I've listed all the common ports above, feel free to enter any custom port number to check. By default, this site is taking your device's IP address as target ip address (the device through which you're visiting this web page), but you can change the IP input field to check for other IP addresses - remote clients and servers as well. But, please don't misuse this option otherwise, I would have to restrict the IP address to source again (as I had done earlier). Please keep in mind that if you're using a VPN or proxy server then it may not be able to get your device's IP correctly.
Understanding Port Forwarding
Port forwarding or port mapping involves translating the address (or port number to a new destination), accepting the packets and forwarding it (using routing table). It's typically used in connecting remote computers to specific programs running on computer (in a private LAN (Local Area Network)). For example : running a public server (HTTP, port 80) on a computer in a private LAN or granting SSH access to a specific computer in a private LAN etc. Read More on Wikipedia.
If you've any feedback/suggestion for this website, please let me know.
The port check (80/443) does not work correctly with Internet access via DSlite. Apparently the IPV4 address, which is assigned by DSlite, is checked. However, this IPv4 cannot be reached from the outside. Only the assigned IPv6 for the Pi is publicly available. Appropriately, the check should also include the check via IPv6 for port 80/443. <!--
PROBLEMS
-->
System information
NextCloudPi diagnostics
``` NextCloudPi version v1.39.12 distribution Debian GNU/Linux 10 \n \l automount no USB devices sda sdb datadir /media/USBdrive/ncdata data in SD no data filesystem ext2/ext3 data disk usage 919G/1,8T rootfs usage 4,9G/29G swapfile /dev/zram3 dbdir /var/lib/mysql Nextcloud check ok Nextcloud version 21.0.4.1 HTTPD service up PHP service up MariaDB service up Redis service up HPB service down Postfix service up internet check ok port check 80 closed port check 443 closed IP ***REMOVED SENSITIVE VALUE*** gateway ***REMOVED SENSITIVE VALUE*** interface eth0 certificates ***REMOVED SENSITIVE VALUE*** NAT loopback no uptime 18:14Nextcloud configuration
``` { "system": { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": { "0": "localhost", "1": "192.168.222.100", "2": " "***REMOVED SENSITIVE VALUE***", "5": "nextcloudpi.fritz.box", "7": "nextcloudpi", "9": "***REMOVED SENSITIVE VALUE***", "12": " "***REMOVED SENSITIVE VALUE***", "13": " "***REMOVED SENSITIVE VALUE***", "11": " "***REMOVED SENSITIVE VALUE***", "3": " "***REMOVED SENSITIVE VALUE***" }, "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "21.0.4.1", "overwrite.cli.url": "https:\/\***REMOVED SENSITIVE VALUE***\/", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "memcache.local": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 0, "timeout": 0, "password": "***REMOVED SENSITIVE VALUE***" }, "mail_smtpmode": "smtp", "mail_smtpauthtype": "LOGIN", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "preview_max_x": "1024", "preview_max_y": "1024", "jpeg_quality": "60", "overwriteprotocol": "https", "maintenance": false, "tempdirectory": "\/media\/USBstick\/nctmp", "logfile": "\/media\/USBdrive\/ncdata\/nextcloud.log", "loglevel": "2", "log_type": "file", "mail_sendmailmode": "smtp", "theme": "", "htaccess.RewriteBase": "\/", "auth.bruteforce.protection.enabled": true, "versions_retention_obligation": "auto, 7", "trashbin_retention_obligation": "auto, 7", "app_install_overwrite": [ "previewgenerator" ], "enable_previews": true, "enabledPreviewProviders": [ "OC\\Preview\\Movie", "OC\\Preview\\PNG", "OC\\Preview\\JPEG", "OC\\Preview\\GIF", "OC\\Preview\\BMP", "OC\\Preview\\XBitmap", "OC\\Preview\\MP3", "OC\\Preview\\MP4", "OC\\Preview\\TXT", "OC\\Preview\\MarkDown" ], "mail_smtpauth": 1, "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "465", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "mail_smtpsecure": "ssl", "data-fingerprint": "a10484b97892ec37f4acba47db21be51", "default_phone_region": "DE" } } ```HTTPd logs
``` [Thu Sep 23 00:00:09.606996 2021] [ssl:warn] [pid 3582:tid 547779081600] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name [Thu Sep 23 00:00:09.608403 2021] [mpm_event:notice] [pid 3582:tid 547779081600] AH00489: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations [Thu Sep 23 00:00:09.608435 2021] [core:notice] [pid 3582:tid 547779081600] AH00094: Command line: '/usr/sbin/apache2' [Thu Sep 23 07:34:03.767044 2021] [proxy_fcgi:error] [pid 32717:tid 547682156928] [client 192.168.222.20:49997] AH01071: Got error 'PHP message: PHP Notice: Undefined offset: 1 in /var/www/ncp-web/ncp-launcher.php on line 109PHP message: PHP Notice: Undefined offset: 1 in /var/www/ncp-web/ncp-launcher.php on line 110PHP message: PHP Notice: Undefined offset: 1 in /var/www/ncp-web/ncp-launcher.php on line 111PHP message: PHP Notice: Undefined offset: 1 in /var/www/ncp-web/ncp-launcher.php on line 113PHP message: PHP Notice: Undefined offset: 1 in /var/www/ncp-web/ncp-launcher.php on line 114PHP message: PHP Notice: Undefined offset: 1 in /var/www/ncp-web/ncp-launcher.php on line 115PHP message: PHP Notice: Undefined offset: 1 in /var/www/ncp-web/ncp-launcher.php on line 118PHP message: PHP Notice: Undefined offset: 1 in /var/www/ncp-web/ncp-launcher.php on line 109PHP message: PHP Notice: Undefined offset: 1 in /var/www/ncp-web/ncp-launcher.php on line 110PHP message: PHP Notice: Undefined offset: 1 in /var/www/ncp-web/ncp-launcher.php on line 111PHP message: PHP Notice: Undefined offset: 1 in /var/www/ncp-web/ncp-launcher.php on line 113PHP message: PHP Notice: Undefined offset: 1 in /var/www/ncp-web/ncp-launcher.php on line 114PHP message: PHP Notice: Undefined offset: 1 in /var/www/ncp-web/ncp-launcher.php on line 115PHP message: PHP Notice: Undefined offset: 1 in /var/www/ncp-web/ncp-launcher.php on line 118' ```Database logs
``` ```Nextcloud logs
```