Skip to content

Choose and change an instance port

PostgreSQL instances default to port 5432 and MySQL to 3306. If that port is taken, SQLEye suggests the next free port, searching up to 500 above the default.

1024 to 65535. A port used by another instance is rejected, and creating an instance on a port that is not available fails with “Port N is not available”.

Stop the instance first. Changing the port of a running instance is refused with “stop the instance before changing its port”. After the change, SQLEye rewrites the instance’s managed config on the next start, so update your app’s connection string.

See port in use.

Servers bind to 127.0.0.1 only, so only programs on your machine can connect.

SQLEye is developed and maintained by CodeROG. This page is also available as Markdown.