Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https://vipsip:60000无法访问,docker容器运行正常 #51

Closed
FunnyWolf opened this issue Oct 25, 2021 · 1 comment
Closed

https://vipsip:60000无法访问,docker容器运行正常 #51

FunnyWolf opened this issue Oct 25, 2021 · 1 comment
Assignees

Comments

@FunnyWolf
Copy link
Owner

描述Bug
按照安装教程在VPS安装后,发现https://vipsip:60000无法访问,docker容器运行正常.

@FunnyWolf

@FunnyWolf FunnyWolf self-assigned this Oct 25, 2021
@FunnyWolf
Copy link
Owner Author

请查看VPS服务器的安全组是否已经开放了60000端口访问,防火墙设置是否正确.
详细检查方法:

  • ssh登录VPS
  • 查看Viper是否已经正常启动(如下表示已经正常启动,如果启动异常请按照安装步骤重新检查)
root@iZj6c9hgtviofyg33ir9v3Z:~# netstat -anpt |grep LISTEN |grep nginx
tcp        0      0 0.0.0.0:60000           0.0.0.0:*               LISTEN      1774419/nginx: mast 
root@iZj6c9hgtviofyg33ir9v3Z:~#
  • 检查Nginx是否启动正确(如下表示启动正确)
root@iZj6c9hgtviofyg33ir9v3Z:~# curl -k https://127.0.0.1:60000
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;"
    />
    <title>VIPER</title>
    <link rel="icon" href="/favicon.png" type="image/x-icon" />
    <link rel="stylesheet" href="./umi.2b1562d7.css" />
    <script>
      window.routerBase = "/";
    </script>
    <script>
      //! umi version: 3.4.8
    </script>
  </head>
  <body>
    <noscript>Sorry, we need js to run correctly!</noscript>
    <div id="root"></div>

    <script src="./umi.bc46debf.js"></script>
  </body>
</html>
  • 如果通过以上检测都正常,但是在浏览器中无法访问Viper,可以确定是VPS的防火墙问题,请重新检查防火墙设置,确认开放了60000,或者重置VPS
  • (如测试时Sesison无法上线,也请查看防火墙设置)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant