Hi, guys today i have installed a Wordops on a vps, but i have notice that all Wordpress email are not sent, also the script with mail(); function not work.
so i tried to check why, and i have found port 25 are closed look below:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:9172 0.0.0.0:* LISTEN 961/php-fpm: master
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 708/systemd-resolve
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1006/sshd
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 1105/nginx: master
tcp 0 0 0.0.0.0:22222 0.0.0.0:* LISTEN 1105/nginx: master
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1105/nginx: master
tcp6 0 0 :::22 :::* LISTEN 1006/sshd
tcp6 0 0 :::443 :::* LISTEN 1105/nginx: master
tcp6 0 0 127.0.0.1:3306 :::* LISTEN 1246/mysqld
tcp6 0 0 :::80 :::* LISTEN 1105/nginx: master
udp 0 0 127.0.0.53:53 0.0.0.0:* 708/systemd-resolve
udp 0 0 0.0.0.0:68 0.0.0.0:* 735/dhclient
so how how Wordpress can work if port 25 are closed ? how i can open this port ?