Resources
Troubleshooting, product docs, security guides, and port references. Search titles, summaries, tags, or a port number. CVE fix guides live in the vulnerability advisories. Server setups live in the setup blueprints.
All pages (139)
-
Port reference · 10250
10250 kubelet
Port 10250 is the kubelet API on every Kubernetes node. With anonymous access on, anyone who reaches it can run commands in your pods.
-
Port reference · 111
111 rpcbind
rpcbind advertises NFS and other RPC services.
-
Port reference · 11211
11211 Memcached
Memcached on port 11211 has no login. A public 11211 leaks cached data, and open UDP 11211 has been used for record DDoS attacks.
-
Port reference · 11434
11434 Ollama
Ollama on port 11434 has no login. If it listens on a public address, anyone can use your GPU, list and delete your models.
-
Port reference · 123
123 NTP
NTP should answer your own clock sync, not the internet.
-
Port reference · 15672
15672 RabbitMQ management
The management UI is the broker admin.
-
Port reference · 161
161 SNMP
SNMP community strings are passwords, and the default ones are public.
-
Port reference · 1883
1883 MQTT
MQTT brokers often allow anonymous publish and subscribe.
-
Port reference · 2049
2049 NFS
NFS exports trust the client address.
-
Port reference · 21
21 FTP
FTP on port 21 sends passwords and files in clear text. Replace it with SFTP over the SSH you already run, and close 21.
-
Port reference · 22
22 SSH
Port 22 is SSH. It is usually meant to be open, so secure it with keys, no root password logins, and rate limits.
-
Port reference · 2222
2222 alternate SSH
Moving SSH does not replace keys and a firewall allow.
-
Port reference · 23
23 Telnet
Telnet sends the whole session in clear text.
-
Port reference · 2375
2375 Docker API
Port 2375 is the Docker daemon with no encryption and no login. Anyone who can reach it is root on the server.
-
Port reference · 2376
2376 Docker TLS
2376 is the Docker API with TLS. A bad certificate setup is still the Docker API.
-
Port reference · 2379
2379 etcd
etcd is the Kubernetes datastore. Anonymous etcd is the cluster.
-
Port reference · 25
25 SMTP
Port 25 is server-to-server email. Only a real mail server should listen on it publicly. A server that just sends app email should listen on loopback.
-
Port reference · 26379
26379 Redis Sentinel
Sentinel can fail a primary over. An open Sentinel is control of Redis.
-
Port reference · 27017
27017 MongoDB
MongoDB on port 27017 must never be public. Open MongoDB servers are copied and wiped by automated ransom bots.
-
Port reference · 3000
3000 development servers
Grafana, Node.js, Next.js, Rails and Gitea default to port 3000, and many bind every interface. Put a reverse proxy in front and bind the app to 127.0.0.1.
-
Port reference · 3128
3128 HTTP proxy
An open proxy is used to attack other sites from your IP.
-
Port reference · 3306
3306 MySQL and MariaDB
MySQL and MariaDB on port 3306 belong on localhost. A public 3306 invites password guessing against your database.
-
Port reference · 33060
33060 MySQL X
MySQL X Protocol is a second listener beside 3306.
-
Port reference · 3389
3389 RDP
Remote Desktop on port 3389 is one of the most attacked ports on the internet. Reach it through a VPN or an SSH tunnel, never directly.
-
Port reference · 389
389 LDAP
LDAP without TLS exposes directory binds.
-
Port reference · 4222
4222 NATS
NATS without accounts lets any client publish and subscribe.
-
Port reference · 4369
4369 Erlang port mapper
epmd tells the network which ports RabbitMQ and other Erlang nodes use.
-
Port reference · 445
445 SMB
SMB on the internet is a common ransomware path.
-
Port reference · 465
465 SMTPS
465 is implicit TLS for submission. An open relay here is still an open relay.
-
Port reference · 5044
5044 Beats and Logstash
Filebeat and Logstash often accept events without authentication.
-
Port reference · 514
514 syslog
Plain syslog is clear text and is easy to flood.
-
Port reference · 5173
5173 Vite
Vite is a development server. The host flag makes it public.
-
Port reference · 51820
51820 WireGuard
WireGuard should listen publicly. That is the point of the VPN. The peers inside it should not be public.
-
Port reference · 53
53 DNS
A recursive resolver on 0.0.0.0 becomes an open resolver.
-
Port reference · 5432
5432 PostgreSQL
PostgreSQL on port 5432 should listen on localhost. A public Postgres with a weak password is a common way in for miners.
-
Port reference · 5601
5601 Kibana
Kibana on port 5601 is the window into everything in Elasticsearch. Bind it to localhost and put authentication and HTTPS in front.
-
Port reference · 5672
5672 AMQP
AMQP is the RabbitMQ application port. The default guest user works only on loopback, until someone adds a remote user with a weak password.
-
Port reference · 5678
5678 n8n
n8n workflows can call internal services. The editor and the webhooks should not be an open signup page.
-
Port reference · 587
587 mail submission
587 is the authenticated submission port.
-
Port reference · 5900
5900 VNC
VNC on port 5900 often uses an 8-character password and no encryption. Bind it to localhost and connect through an SSH tunnel.
-
Port reference · 6000
6000 X11
X11 listeners allow remote clients to see the display.
-
Port reference · 631
631 CUPS
The print service does not belong on a public VPS.
-
Port reference · 6333
6333 Qdrant
Qdrant without an API key is a public vector database. Bind it to localhost.
-
Port reference · 636
636 LDAPS
LDAPS is the TLS directory port. It is still the directory.
-
Port reference · 6379
6379 Redis
Redis on port 6379 should never answer the internet. An open Redis can be turned into a shell on the server.
-
Port reference · 6432
6432 PgBouncer
PgBouncer is a PostgreSQL pool. It is a database port.
-
Port reference · 6443
6443 Kubernetes API
The Kubernetes API is cluster root when the credentials are weak or anonymous auth is on.
-
Port reference · 7700
7700 Meilisearch
Meilisearch without a master key, or with the key change-me, is an open index.
-
Port reference · 7860
7860 local AI user interfaces
Gradio, Langflow, and some image tools default to 7860 on every interface.
-
Port reference · 443
80 and 443 HTTP
Public web ports belong on the reverse proxy. Everything else should be on localhost behind that proxy.
-
Port reference · 8006
8006 Proxmox
8006 is the Proxmox web interface, which is full control of the hypervisor.
-
Port reference · 8080
8080 alternate HTTP
Port 8080 is where app servers, admin panels and dashboards end up published by accident. Nothing on it should face the internet directly.
-
Port reference · 8086
8086 InfluxDB
InfluxDB holds metrics and often ships with a default organization and a weak token.
-
Port reference · 8123
8123 ClickHouse HTTP
The ClickHouse HTTP interface runs queries. The native protocol is a second port.
-
Port reference · 8200
8200 Vault
Vault on a public address is the secret store, even with TLS.
-
Port reference · 8265
8265 Ray dashboard
The Ray Jobs API does not require authentication in the open-source default.
-
Port reference · 8443
8443 alternate HTTPS
Panels use 8443 so they can sit beside a site on 443. They are still admin.
-
Port reference · 8500
8500 Consul
Consul HTTP is the service catalog and can be the KV store.
-
Port reference · 873
873 rsync
rsyncd without auth copies whatever the module exports.
-
Port reference · 8787
8787 PortGate AI proxy
The local guardrail listens on 127.0.0.1:8787. It is not a public API.
-
Port reference · 8888
8888 Jupyter
Jupyter on port 8888 is a shell in a browser. Bind it to localhost and reach it through an SSH tunnel, with a token or password always set.
-
Port reference · 9000
9000 MinIO and PHP-FPM
Port 9000 is used by MinIO, PHP-FPM and older Portainer. None of them should face the internet directly: PHP-FPM can be made to run code, and MinIO and Portainer hold data and control.
-
Port reference · 9090
9090 Prometheus and Cockpit
Port 9090 is Prometheus, which has no login by default, or the Cockpit server console. Keep both on localhost or behind a VPN.
-
Port reference · 9092
9092 Kafka
Kafka listeners without authentication accept produce and fetch from any client that can connect.
-
Port reference · 9100
9100 node exporter
node_exporter publishes host metrics with no authentication. Port 9100 is also the raw printer port on other networks.
-
Port reference · 9200
9200 Elasticsearch
Elasticsearch on port 9200 answers search and admin requests. An open 9200 leaks or loses every index.
-
Port reference · 9229
9229 Node inspector
The Node inspector is a remote debugger.
-
Port reference · 9300
9300 Elasticsearch transport
9300 is the cluster protocol. Binding it publicly lets another node join.
-
Port reference · 9418
9418 Git
The Git daemon serves repositories without the access control of SSH or HTTPS.
-
Port reference · 993
993 IMAPS
IMAPS is the mailbox. A public listener is correct only when this host is the mail store.
-
Security guide
A backup you have not restored is a hope
Back up the database consistently, encrypt and store copies off the server, and prove the backup works by restoring it on a schedule.
-
Q&A
A blueprint variable was rendered empty
Unknown placeholders are removed. Only names of the form {{NAME}} are replaced.
-
Q&A
A file hash changed and I did not deploy
The agent stores SHA-256 digests of four system files. A change means the file bytes changed, not that the app was deployed.
-
Q&A
A known file keeps showing up in the malware scan
A vendor file that matches a sink rule can be allowlisted by hash after you have read it.
-
Q&A
A server was marked offline
Offline means no heartbeat arrived for 15 minutes. The host, the cron job, or the token stopped.
-
Product doc
AI proxy limits
daily_request_cap and daily_token_cap are enforced only for clients that use http://127.0.0.1:8787/v1.
-
Product doc
Approving a baseline
Approval stores the current hashes and the current listener set as the expected state.
-
Q&A
Are prompts sent to the dashboard?
No. The AI proxy redacts secrets in the local log and posts counts only.
-
Security guide · 5432
Bind databases, queues and admin panels to localhost
A database that listens on 0.0.0.0 is an internet service. Bind it to 127.0.0.1, publish Docker ports on loopback, and reach admin panels through an SSH tunnel.
-
Security guide
Block server-side requests to the cloud metadata address
A URL fetch feature can be pointed at 169.254.169.254 and read cloud credentials. Validate destinations after DNS resolution, require IMDSv2, and block the address for the app user.
-
Product doc
Change the dashboard URL on an existing agent
Pass --url on the next install. The script replaces api_url when you give it a new origin.
-
Product doc
Choose server, ai-proxy, or all
One agent file. The --mode flag selects the server daemon, the local LLM proxy, or both.
-
Security guide
Commit the lockfile and install exactly what it says
Lockfiles pin every dependency to a reviewed version. Commit them, install with the lockfile-only commands in CI and deploys, and audit them on every build.
-
Security guide
Do not mount the Docker socket into an app container
Write access to /var/run/docker.sock is root on the host. Find containers that mount it, and give tools that need it a filtering proxy instead.
-
Product doc
Do not paste tokens into chat
An install token is a credential. A server token can post inventory for that install.
-
Q&A
Heartbeat says the dashboard name does not resolve
The agent is still calling the previous dashboard URL. A new tunnel hostname does not replace the one already saved in config.json unless you pass --url again.
-
Product doc
How to read a finding
A finding is a diff against the last approved baseline: a new listener, a changed hash, or a malware path.
-
Product doc
Install modes are additive
Running the installer again with another mode adds that unit. It does not remove a mode you already installed.
-
Product doc
Installer and agent options
Every flag install.sh and agent.py accept, what each mode installs, and where the files, schedules and logs go.
-
Security guide
Isolate each site with its own user and PHP-FPM pool
One Linux user and one PHP-FPM pool per site keep a compromise of one site from reading or writing the others. open_basedir is a seatbelt on top, not the boundary.
-
Security guide
Keep .env and .git out of the web root
Point the vhost at public/, deny dotfiles except .well-known, and confirm /.env and /.git/config answer 403 or 404 from outside.
-
Security guide
Keep secrets out of ps, core dumps and swap
Command-line arguments are visible to every user, crashing processes write memory to disk, and swap can hold secrets after a process exits. Close each of those paths.
-
Security guide
Keep the server clock in sync
TLS, signed requests, TOTP codes and log timelines all depend on an accurate clock. Run one time-sync service and check that it is synchronised.
-
Security guide
Lock the origin to Cloudflare, after the tunnel or proxy works
A Cloudflare-proxied site whose server still answers on its public IP can be attacked directly. Use a Cloudflare Tunnel or allow only Cloudflare IP ranges, in an order that does not take the site down.
-
Q&A
Malware scan posts are rejected
Server ingest and malware scan are different token abilities. --mode all with a server-only token cannot post scan results.
-
Q&A
Ollama answers on the public IP after the proxy is installed
The proxy does not move Ollama. OLLAMA_HOST has to be set to the loopback address.
-
Security guide
One database user per application, with only the rights it needs
Apps should not connect as root or postgres. Create one user per app, grant it one database, and keep migration rights separate where you can.
-
Security guide
Publish a security.txt so researchers can reach you
A security.txt file at /.well-known/security.txt tells people who find a vulnerability where to report it. It takes five minutes and needs an Expires date.
-
Security guide
Put a local proxy and a daily cap in front of OpenAI and Anthropic
Point SDKs at the PortGate AI proxy on 127.0.0.1:8787 so known injections are blocked, secrets are redacted, and a daily request and token cap stops runaway spend.
-
Q&A
Quarantine does not delete files by itself
The scanner reports a path. Moving it to quarantine is a command you run.
-
Product doc
Quickstart: your first server in 5 minutes
Create an account, add a server, paste one command on it, and read your first security score.
-
Product doc
Read a blueprint bundle before you run it
The bundle writes files and runs only the shell steps marked to run. Closing SSH, starting compose, and incident collection stay as scripts you run yourself.
-
Product doc
Rotate an install token
Create a new token, re-run the installer with it, then revoke the old token.
-
Security guide
Session cookies: flags, CSRF tokens, and why CORS is not authentication
Set Secure, HttpOnly and SameSite on session cookies, keep CSRF protection on every state-changing request, and do not treat CORS as an access control.
-
Security guide
SPF, DKIM and DMARC for mail your server sends
Without SPF, DKIM and DMARC, your password resets land in spam and anyone can send mail as your domain. Set all three, starting DMARC at p=none.
-
Q&A
ss does not show a Docker published port
Docker DNATs published ports. ss on the host can show dockerd or the proxy, not the container process name you expected.
-
Q&A
SSH password login was turned off and the new session fails
Password authentication should stay on until a key in authorized_keys has already logged in from a second terminal.
-
Security guide
Stop PHP from running inside WordPress uploads
Uploads should hold images and documents, never code. Deny PHP execution there in nginx or Apache, block xmlrpc.php if unused, and turn off the dashboard file editor.
-
Product doc
systemd unit names
The units are portgate-agent, portgate-ai-proxy, and portgate-malware.
-
Q&A
The agent gets HTTP 401 on ingest
A 401 means the token is missing, revoked, or was created for a different ability.
-
Q&A
The agent gets HTTP 404 for the ingest URL
The saved api_url points at a path the dashboard does not serve.
-
Q&A
The app cannot connect to the AI proxy
The proxy listens on 127.0.0.1:8787 only after ai-proxy or all mode is installed. A server-only install does not start it.
-
Q&A
The bundle script stopped at the first error
The generated script uses set -eu. A missing command aborts the rest.
-
Q&A
The disk filled up and MySQL or PHP died
journald and uncompressed web logs are the usual overnight fill on a small VPS. Cap them before the database volume hits 100 percent.
-
Q&A
The heartbeat signature is rejected for clock skew
The dashboard rejects a heartbeat when the agent clock and the server clock disagree by more than a few minutes.
-
Q&A
The proxy returned HTTP 400 for a prompt
HTTP 400 means the local proxy matched an injection rule and did not forward the prompt.
-
Q&A
The score did not move after a fix
The score follows the next heartbeat, not the moment you edit a file.
-
Q&A
The score dropped after a deploy
A new public port, a changed sshd_config hash, or password SSH showing up again is enough to move the score. The drop is the diff against the approved baseline.
-
Q&A
The server page says offline while the agent log says 200
The UI marks a server offline when heartbeats stop arriving inside the window, even if an old log line says success.
-
Q&A
The webhook receiver rejects the signature
Receivers must read the PortGate signature headers and the raw body.
-
Security guide
Turn off debug pages and version banners in production
Debug mode turns an error into a map of your app, and some debug tools run code. Turn them off, stop advertising versions, and check from outside.
-
Security guide
Turn off SSH passwords without locking yourself out
Install and test a key, write a drop-in that sshd reads first, check the effective config with sshd -T, and keep a second session and the firewall rule in place until it works.
-
Q&A
Two agents are posting for the same server
A second install with a new token creates a second server row.
-
Q&A
UFW is installed and still inactive
An inactive firewall does not enforce the rules you wrote.
-
Product doc
Uninstall the agent
One command removes the schedules, services, files and logs. Files you quarantined are kept.
-
Product doc
Webhook headers
Signed webhooks send X-PortGate-Signature and X-PortGate-Timestamp.
-
Product doc
What a blueprint score guarantee means
Every published blueprint is scored 100 because the files follow the product rules: loopback for data stores, no automatic SSH lockout, and review-before-run on dangerous steps.
-
Product doc
What a malware scan does not detect
The scanner looks at web files and process memory. It does not know package versions, WordPress plugin versions, or the contents of Java jars.
-
Product doc
What root is used for
Server and malware mode read system paths. The AI proxy does not need root. The agent does not rewrite config or delete files on its own.
-
Product doc
What the domain monitor checks
The monitor records the DNS and HTTP state of domains you add. It does not open ports on those hosts.
-
Product doc
What the heartbeat sends
Hostname, ports, Docker inventory, firewall status, parsed SSH flags, and four file hashes. Not your source tree or .env.
-
Product doc
What the score counts
The score drops when the heartbeat reports a public database port, password SSH, root SSH, or an unapproved hash change.
-
Product doc
When a server is marked offline
The scheduler marks a server offline after heartbeats stop.
-
Product doc
Where alerts are delivered
Email, Slack, Telegram, Discord, and signed HTTPS webhooks. Each message includes a one-line command.
-
Product doc
Where config.json lives
The root install writes /opt/portgate/config.json. A user install writes ~/.portgate/config.json.
-
Q&A
Which files change the integrity alert
Only four files are hashed. An application deploy does not move this alert unless it edits one of them.
-
Product doc
Which paths the malware scan walks
Malware mode walks the web roots configured for the host and inspects /proc for deleted executables.
-
Product doc
Which token ability each mode needs
Server ingest, AI telemetry, and malware scan are separate abilities. --mode all needs all three on the same token.
-
Q&A · 6379
Why can the internet reach Redis when UFW denies 6379?
Docker published ports are accepted in the FORWARD chain before UFW’s INPUT policy runs.
Popular questions
Unknown placeholders are removed. Only names of the form {{NAME}} are replaced.
Read the answerThe agent stores SHA-256 digests of four system files. A change means the file bytes changed, not that the app was deployed.
Read the answerA vendor file that matches a sink rule can be allowlisted by hash after you have read it.
Read the answerNo. The AI proxy redacts secrets in the local log and posts counts only.
Read the answerThe proxy does not move Ollama. OLLAMA_HOST has to be set to the loopback address.
Read the answerDocker DNATs published ports. ss on the host can show dockerd or the proxy, not the container process name you expected.
Read the answer