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

node服务启动使用的是8080端口,和blockchain-trace-basic-data的后端服务springboot的8080端口有冲突 #9

Open
yigemaserwang opened this issue Apr 11, 2022 · 5 comments

Comments

@yigemaserwang
Copy link

调整为9000端口,相应的需要修改\blockchain-trace-pc\src\main.js,Vue.prototype.$httpUrl = "http://10.10.15.92:9000/route"; 这里的IP地址不能用localhost,必须是显性的区块链网络服务器IP地址

@steakliu
Copy link
Owner

可以自行改下地址,我当时后台程序跑在本地,就没考虑冲突问题

@Wuxiuga
Copy link

Wuxiuga commented Apr 18, 2022

调整为9000端口,相应的需要修改\blockchain-trace-pc\src\main.js,Vue.prototype.$httpUrl = "http://10.10.15.92:9000/route"; 这里的IP地址不能用localhost,必须是显性的区块链网络服务器IP地址
同学 这里的区块链网络服务器地址 是指部署区块链网络的服务器地址还是docker里面容器地址啊

@Wuxiuga
Copy link

Wuxiuga commented Apr 18, 2022

调整为9000端口,相应的需要修改\blockchain-trace-pc\src\main.js,Vue.prototype.$httpUrl = "http://10.10.15.92:9000/route"; 这里的IP地址不能用localhost,必须是显性的区块链网络服务器IP地址

截屏2022-04-18 下午3 39 46

老哥 方便解答一下疑惑吗
我这边的区块链浏览器是空白页

@Qzgfather
Copy link

区块链浏览器空白可能的原因:

  1. 中间件没启动起来,查看ip:8080端口是否有相应

  2. 楼上说的那种情况,请求的url地址没有修改,修改成你部署的中间件IP

  3. 如果使用pm2 后台保持,可能会有问题我使用forever start app.js 命令没有问题

1658043677339

@Qzgfather
Copy link

调整为9000端口,相应的需要修改\blockchain-trace-pc\src\main.js,Vue.prototype.$httpUrl = "http://10.10.15.92:9000/route"; 这里的IP地址不能用localhost,必须是显性的区块链网络服务器IP地址

截屏2022-04-18 下午3 39 46

老哥 方便解答一下疑惑吗 我这边的区块链浏览器是空白页

这有解决方案,仅供参考。

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

4 participants