Can't connect to MySQL server on (ip or domain name)

前端 未结 6 2132
旧巷少年郎
旧巷少年郎 2021-02-13 16:48

I\'m trying to configure a web server (Debian 7). I followed this tutorial. I\'m renting my server thanks to gandi.net service. And i have now apache2, mysql, php5 up and runnin

6条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-13 17:15

    sudo vim /etc/ssh/sshd_config

    set localhost in the file httpd.conf as follows

    ServerName localhost

    or else the port won't accept your server request, and will show cant connect to server ip_address

提交回复
热议问题