由于局域网的服务器是通过ADSL路由器连接外网的,但ADSL是从ISP运营商那儿通过动态获得IP的,那么我怎么知道自己的外网地址是多少呢?
现在介绍两个方法:
1、直接在命令行敲如下命令:
curl -s http://whatismyip.org
2、敲命令:
wget http://whatismyip.org
然后再敲命令:
cat index.html
以上两种方法均通过实践验证,确实有效.
由于局域网的服务器是通过ADSL路由器连接外网的,但ADSL是从ISP运营商那儿通过动态获得IP的,那么我怎么知道自己的外网地址是多少呢?
现在介绍两个方法:
1、直接在命令行敲如下命令:
curl -s http://whatismyip.org
2、敲命令:
wget http://whatismyip.org
然后再敲命令:
cat index.html
以上两种方法均通过实践验证,确实有效.
报错: ``` nginx: [emerg] dlopen() "/opt/nginx/modules/ngx_http_brotli_filter_module.so" failed (libbrotlienc.so.1: cannot open shared object file: No su...
报错如下: ``` nginx: [emerg] module "/opt/nginx/modules/ngx_http_brotli_filter_module.so" version 1028001 instead of 1026002 in /opt/nginx/conf/nginx.conf...
成为第一个评论的人吧!