My Adminer (Database management in a single PHP file) runs on a Debian Server, and I want to move my database management web login screen from port 80 to port 50001. How can I do it ?
The correct question would be: How to change my web server's default port?
In case you're using Apache Web Server, then follow this steps:
/etc/apache2/ports.conf, change the port to:
Then go to
And change the first line to:
Now restart the apache2 service:
sudo service apache2 restart
Apache will now listen on port 50001.