Coder Social home page Coder Social logo

Comments (7)

piaohai avatar piaohai commented on May 29, 2024

修改你的server.json的IP地址为外网的IP,即你上面提供的IP地址或者修改PomeloClient的JS的init的URL,我看到云上的服务请求到127.0.0.1了。

from pomelo.

scyehan avatar scyehan commented on May 29, 2024

我server.json里面connector和我自己的server的ip都改成云服务器的ip了,客户端init的ip也设成这个ip了
可是好像还是这样!

from pomelo.

piaohai avatar piaohai commented on May 29, 2024

index.html 里面的下面IP修改成外网的IP

<script type="text/javascript"> var pomelo = window.pomelo; var host = "127.0.0.1"; var port = "3010";

from pomelo.

scyehan avatar scyehan commented on May 29, 2024

用的不是index.html那个页面,是http://42.121.56.72:3001/table.html,实践证明是不能用代理访问,之前我浏览器设了代理!
现在前面那个问题解决了,问题变成Failed to load resource http://42.121.56.72:3010/socket.io/1/?t=1354847278195

from pomelo.

piaohai avatar piaohai commented on May 29, 2024

你的42.121.56.72的3010端口没有打开,就是服务没有起来

你可以用netstat -an | grep 3010看一下

from pomelo.

scyehan avatar scyehan commented on May 29, 2024

问题解决,前面是NODE_PATH环境变量没设置对!谢谢!

from pomelo.

xiecc avatar xiecc commented on May 29, 2024

所有中文问题的issue请到这里来提: https://github.com/NetEase/pomelo-cn/issues/
以后所有在 https://github.com/NetEase/pomelo/issues 下提的中文问题将被关闭, 并转到pomelo-cn
谢谢大家配合

from pomelo.

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.