0xgkd / awvs

A version of awvs docker based on Ubuntu 18.04
MIT License
95 stars 8 forks source link

部署完成但是无法访问 #2

Open infoBrainSys opened 1 year ago

infoBrainSys commented 1 year ago
tom@tom-MACH-WX9:~/Project$ sudo docker run -it -d -p 13443:3443 0xgkd/awvs
68ceb61e4c0370f9e26ea4cb80d5c3dfc2748369c79c676ba0c190d8f0ce7abe
tom@tom-MACH-WX9:~/Project$ sudo docker ps
CONTAINER ID   IMAGE            COMMAND       CREATED         STATUS         PORTS                                         NAMES
68ceb61e4c03   0xgkd/awvs       "/.awvs.sh"   3 seconds ago   Up 2 seconds   0.0.0.0:13443->3443/tcp, :::13443->3443/tcp   laughing_chatelet
51fd12a82ff8   mzz2017/v2raya   "v2raya"      18 hours ago    Up 4 hours                                                   v2raya
tom@tom-MACH-WX9:~/Project$ lsof -i :13443
tom@tom-MACH-WX9:~/Project$ lsof -i :13443
tom@tom-MACH-WX9:~/Project$ sudo lsof -i :13443
COMMAND     PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
docker-pr 21414 root    4u  IPv4 263938      0t0  TCP *:13443 (LISTEN)
docker-pr 21420 root    4u  IPv6 213971      0t0  TCP *:13443 (LISTEN)
tom@tom-MACH-WX9:~/Project$ sudo curl 127.0.0.1:13443
curl: (52) Empty reply from server
0xgkd commented 1 year ago
tom@tom-MACH-WX9:~/Project$ sudo docker run -it -d -p 13443:3443 0xgkd/awvs
68ceb61e4c0370f9e26ea4cb80d5c3dfc2748369c79c676ba0c190d8f0ce7abe
tom@tom-MACH-WX9:~/Project$ sudo docker ps
CONTAINER ID   IMAGE            COMMAND       CREATED         STATUS         PORTS                                         NAMES
68ceb61e4c03   0xgkd/awvs       "/.awvs.sh"   3 seconds ago   Up 2 seconds   0.0.0.0:13443->3443/tcp, :::13443->3443/tcp   laughing_chatelet
51fd12a82ff8   mzz2017/v2raya   "v2raya"      18 hours ago    Up 4 hours                                                   v2raya
tom@tom-MACH-WX9:~/Project$ lsof -i :13443
tom@tom-MACH-WX9:~/Project$ lsof -i :13443
tom@tom-MACH-WX9:~/Project$ sudo lsof -i :13443
COMMAND     PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
docker-pr 21414 root    4u  IPv4 263938      0t0  TCP *:13443 (LISTEN)
docker-pr 21420 root    4u  IPv6 213971      0t0  TCP *:13443 (LISTEN)
tom@tom-MACH-WX9:~/Project$ sudo curl 127.0.0.1:13443
curl: (52) Empty reply from server

用这个curl --insecure https://127.0.0.1:13443 如果你是VPS环境,注意放行13443端口(or其他自定义端口),要么关闭防火墙

curl --insecure https://127.0.0.1:13443

<!DOCTYPE html><html lang="en"><head>
   <meta charset="utf-8">
   <title>Acunetix</title>
   <base href="/">

   <meta name="viewport" content="width=device-width, initial-scale=1">
   <link rel="icon" id="favIcon" type="image/svg+xml" href="favicon.svg">
   <script>
     var global = global || window;
     // var Buffer = Buffer || [];
     // var process = process || {
     //   env: { DEBUG: undefined },
     //   version: []
     // };
   </script>
   ...
zjc615 commented 4 months ago

要https://访问...