Setting up MYSQL, Apache2 and WordPress
MySQL/MariaDB
Remember to change bind-address to 0.0.0.0. By default it is set to 127.0.0.1 and then you can’t connect remotely!
Exactly which config file it is depends on MySQL vs MariaDB (/etc/mysql/mariadb.conf.d/50-server.cnf), but it is easy to find under /etc
In Mysql 5.7, you should edit /etc/mysql/mysql.conf.d/mysqld.cnf
Install Apache2 on 16.04
Install WordPress
https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lamp-on-ubuntu-16-04
Changing the port Apache is listening on
https://stackoverflow.com/questions/3940909/configure-apache-to-listen-on-port-other-than-80
Which process/service is listening to this port
lsof -Pnl +M -i4 netstat -tulpn grep 110 /etc/services