You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "MutualExclusion (GitHub)" <gi...@apache.org> on 2019/01/22 02:23:21 UTC
[GitHub] [incubator-dubbo-ops] MutualExclusion opened issue #266: 在Linux服务器上部署,前后端运行成功。但通过地址访问不到页面。


远程服务器CentOS,安全组开放端口8080,8081,前后台均运行成功。多次关闭重启均访问不到前台页面
[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/266 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-ops] MutualExclusion closed issue #266: 在Linux服务器上部署,前后端运行成功。但通过地址访问不到页面。
Posted by "MutualExclusion (GitHub)" <gi...@apache.org>.
[ issue closed by MutualExclusion ]
[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/266 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-ops] MutualExclusion commented on issue #266: 在Linux服务器上部署,前后端运行成功。但通过地址访问不到页面。
Posted by "MutualExclusion (GitHub)" <gi...@apache.org>.
哈哈,感觉我这个是新手问题。因为对前端vue一点都不懂。而大多数的教学基本上都是在本地运行,本地访问;所以只查询dubbo的相关文档并没有好的建议,最后查询了vue的相关文档才解决。
[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/266 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-ops] MutualExclusion commented on issue #266: 在Linux服务器上部署,前后端运行成功。但通过地址访问不到页面。
Posted by "MutualExclusion (GitHub)" <gi...@apache.org>.
是的,由于不熟悉vue。所以不清楚config/index.js的作用,所以搞了好久。
在2019年01月29日 22:01,min 写道:
是在本地浏览器访问远程页面么?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.
[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/266 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-ops] MutualExclusion commented on issue #266: 在Linux服务器上部署,前后端运行成功。但通过地址访问不到页面。
Posted by "MutualExclusion (GitHub)" <gi...@apache.org>.
不是,同在一台服务器部署的。已经运行成功了,并且外网能够访问到了。
[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/266 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-ops] nzomkxia commented on issue #266: 在Linux服务器上部署,前后端运行成功。但通过地址访问不到页面。
Posted by "nzomkxia (GitHub)" <gi...@apache.org>.
远程服务器上是前后端分离部署的?
[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/266 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-ops] MutualExclusion closed issue #266: 在Linux服务器上部署,前后端运行成功。但通过地址访问不到页面。
Posted by "MutualExclusion (GitHub)" <gi...@apache.org>.
[ issue closed by MutualExclusion ]
[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/266 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-ops] nzomkxia commented on issue #266: 在Linux服务器上部署,前后端运行成功。但通过地址访问不到页面。
Posted by "nzomkxia (GitHub)" <gi...@apache.org>.
谢谢,我看一下是否需要在文档里说明这个配置
[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/266 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-ops] MutualExclusion commented on issue #266: 在Linux服务器上部署,前后端运行成功。但通过地址访问不到页面。
Posted by "MutualExclusion (GitHub)" <gi...@apache.org>.
修改前端config/index.js的属性host:'localhost'(默认) 改成host:'0.0.0.0' 重新开启工程
[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/266 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-ops] nzomkxia commented on issue #266: 在Linux服务器上部署,前后端运行成功。但通过地址访问不到页面。
Posted by "nzomkxia (GitHub)" <gi...@apache.org>.
是在本地浏览器访问远程页面么?
[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/266 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org