To solve this issue and to be able to start the nginx. It clearly says that there is some problem with the listening address and the Nginx configuration test is failing. Mar 18 19:17:18 nginx.vps nginx: nginx: configuration file /etc/nginx/nf test failed The full error is given below: Mar 18 19:17:18 nginx.vps nginx: nginx: socket() :80 failed (97: Address family not supported by protocol) This issue is occurring after a fresh installation of Nginx, after starting the rvice. Now in the next few paragraphs, we are going to dig deeper into the most common Nginx web server errors. Now we need to is to enable the mcrypt PHP module which phpMyAdmin relies on. ├─60832 nginx: master process /usr/sbin/nginx -g daemon on master_process on This enables the Nginx web server to find and serve the phpMyAdmin files correctly. Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Fri 18:28:46 UTC 2min 30s ago ![]() rvice - A high performance web server and a reverse proxy server.You should receive the following output: sudo systemctl status nginx Visit localhost:8080 in your browser to see the login screen. I want to use a dockerized SQL database server, an additional client (here: phpmyadmin) and a reverse proxy to make the client interface reachable from outside servers. To check the status of the Nginx service, execute the following line: sudo systemctl status nginx Basic Usage The simplest installation lets a PHPMyAdmin container connect to any accessible database server: docker run -d -name phpmyadmin -e PMAARBITRARY1 -p 8080:80 phpmyadmin This command starts PHPMyAdmin on port 8080. Once, Nginx is installed start it and enable it with the commands below: sudo systemctl start nginx & sudo systemctl enable nginx sudo apt update -y & sudo apt upgrade -y Install Nginx Web Serverīefore we start with explaining the Nginx web server errors we are going to install it with the command below: sudo apt install nginx -y ![]() ![]() It is always recommended before we do anything on our server, to update the packages to their latest versions available. User privileges: root or non-root user with sudo privileges.Fresh install of Ubuntu 20.04, CentOS, AlmaLinux or Debian OS.Address family not supported by protocol.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |