Comments (7)
修改你的server.json的IP地址为外网的IP,即你上面提供的IP地址或者修改PomeloClient的JS的init的URL,我看到云上的服务请求到127.0.0.1了。
from pomelo.
我server.json里面connector和我自己的server的ip都改成云服务器的ip了,客户端init的ip也设成这个ip了
可是好像还是这样!
from pomelo.
index.html 里面的下面IP修改成外网的IP
<script type="text/javascript"> var pomelo = window.pomelo; var host = "127.0.0.1"; var port = "3010";from pomelo.
用的不是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.
你的42.121.56.72的3010端口没有打开,就是服务没有起来
你可以用netstat -an | grep 3010看一下
from pomelo.
问题解决,前面是NODE_PATH环境变量没设置对!谢谢!
from pomelo.
所有中文问题的issue请到这里来提: https://github.com/NetEase/pomelo-cn/issues/
以后所有在 https://github.com/NetEase/pomelo/issues 下提的中文问题将被关闭, 并转到pomelo-cn
谢谢大家配合
from pomelo.
Related Issues (20)
- KeepAlive timeout如何解决? HOT 3
- 建议:Handler返回的是函数,pomelo-loader会多次执行该函数,建议只执行一次! HOT 6
- Some Images in the WIKI documents are missing HOT 2
- websocket send binary data failed: "Error: write EPIPE HOT 1
- 北京-北苑路北公司-招聘高级NODEJS工程师Pomelo方向
- 跨服pomelo有没有好的方案? HOT 1
- TS更香,就选mydog HOT 1
- 热更优化 HOT 2
- 还在研究pomelo的加QQ群:pomelo2021 HOT 3
- 教程中图片链接丢失 HOT 2
- [pomelo-rpc] server unknown: undefined HOT 1
- pomelo开源社区QQ群,群号:581180480 HOT 5
- Pomelo socket connect error on server
- 主页403打不开 pomelo.netease.com HOT 2
- 这项目挂了吗? HOT 2
- MySQL connection issue HOT 2
- 求救!! HOT 2
- 给 nodejs 点希望吧 HOT 3
- 关于 Pomelo 项目的声明
- Statement on the Pomelo project
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pomelo.