Home>
Even if I hit ip in the browser, nginx is not displayed and I am in trouble.
centos7
nginx -v nginx version: nginx/1.11
firewall settings
sudo vi /etc/firewalld/services/ssh.xml
<? xml version = "0.0" encoding = "utf-8"?>
<service>
<short>SSH</short>
<description>Secure Shell (SSH) is a protocol for logging into and executing commands on remote machines.It provides secure encrypted communications.If i plan on accessing your machine remotely via SSH over a firewalled interface, enable this option.You need the openssh -server package installed for this option to be useful.</description>
<port protocol = "tcp" port = "12345" />
</service>
Executed below
sudo firewall-cmd --reload
sudo systemctl restart sshd.service
public (active)
target: default
icmp-block-inversion: no
interfaces: eth0
sources:
services: dhcpv6-client http ssh
ports: 12345/tcp
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
We are also implementing:
The status is normal.
systemctl status nginx
* nginx.service-The nginx HTTP and reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginx.service;enabled;vendor preset: disabled)
Active: active (running) since Thu 2019-10-10 14:14:08 JST;2h 29min ago
Main PID: 24412 (nginx)
CGroup: /system.slice/nginx.service
| -24412 nginx: master process/usr/sbin/nginx
`-24413 nginx: worker process
firewall-cmd --zone = public --add-port = 12345/tcp --permanent
sudo firewall-cmd --add-service = http --permanent
sudo firewall-cmd --reload
Error
The response time is too long even if you type ip160.160.160.160 on the browser.
-
Answer # 1
Related articles
- python - the web browser is garbled and the web application is not displayed
- html - © is not displayed on the browser
- CentOS7 Docker Nginx deployment and operation details
- Steps to install Nginx in yum mode under CentOS7
- Centos7 restart apache, nginx, mysql, php-fpm command method
- Nginx and browser cache processing method
- centos7 method to compile and install nginx
- How to install nginx in centos7
- Centos7 startup process and Nginx startup configuration in Systemd
- Centos7 tutorial for installing PHP and Nginx
- CentOS7 method steps to install Nginx and configure automatic startup
- Centos7 install Nginx integrated Lua sample code
- CentOS7 method steps to add Nginx to system services
- Centos7 docker modify Nginx file process
- python - page not found (404) is displayed in the browser
- [vagrant + centos7] laravel cannot be displayed on the browser
- php is not displayed in the browser help me
- html5 - the title is not displayed in the browser
- [java] db information cannot be displayed on the web browser
- indexphp in public is not displayed in aws ec2 + nginx + laravel6 environment
Related questions
- nginx -How to completely disable caching
- linux - i get an error when vagrant up
- c++ - compilation error due to random number generation method
- linux - i want to complete the makefile and run make
- linux - aws centos7 ssh connection is no longer possible
- linux - i get the error "missing separator" in make
- linux - today (2020730) ssh of window 10 suddenly became unable to connect
- linux - about changing the confirmation message of the shutdown command on redhat/centos
- linux - cannot resize the screen of centos7
- how to intentionally create a zombie process in php
I think you're not looking at the secret browser