Giter Site home page Giter Site logo

Comments (1)

FunnyWolf avatar FunnyWolf commented on May 25, 2024

请查看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无法上线,也请查看防火墙设置)

from viper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.