The company set up a small program back-end service, applied for the domain name and SSL certificate, service port through nginx configuration SSL certificate verification, through the reverse proxy. Usually, there is no problem with the small program access, but this afternoon, the problem of access hanging suddenly appeared, that is, the request has been unresponsive.
First stop the service and then restart, through the domain name access, found or no access to data. Postman through the intranet IP access interface, found that it can request data, initially concluded that it is not the server problem.
It is not a problem of domain name and certificate
adopt NSLOOKUP domain name
It is found that the domain name can be resolved to the corresponding public IP address of the server, which indicates that the DNS is not polluted
Ping public IP is able to Ping, but through the public IP, SSH connection server, found unable to connect, but the firewall corresponding port is open.
There is only one truth, which is limited by the network operators, because the company has not applied for a fixed public IP. The solution is to restart the router, automatically reassign a public IP, and modify the public IP mapped by the domain name.
This work adoptsCC agreementReprint must indicate the author and the link of this article