You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-cn@cloudstack.apache.org by "zhang.xiaofei" <zh...@oncloudit.com> on 2013/06/05 11:10:41 UTC

回复: 访问server问题

你的server 是1个网卡 你改了ip ? 还是2个网卡? 
1个的话改过ip你就再初始化下cloud-stack数据库
#cloud-setup-databases cloud:password@localhost --deploy-as=root:password
初始化过程中看下serverip是否正确
然后运行
# cloud-setup-management

然后看下8080端口有没有起来 没得话 去看日志

#tail -f /var/log/cloud/management/catalina.out


2013-06-05



zhang.xiaofei



发件人:Yongchuan Dai <dy...@gmail.com>
发送时间:2013-06-05 15:46
主题:访问server问题
收件人:"users-cn"<us...@cloudstack.apache.org>
抄送:

大家好: 
       在安装环境中,我遇到一个问题。问题描述如下: 

     开始安装cloudstack中,我的management 
server的ip是58.198.101.61,安装完成后,然后我可以通过同一网段的58.198.101.73的一台PC机,在浏览器里输入 
http://58.198.101.61:8080/client 
可以访问,但是由于这两个IP都是公网,我自己用路由器构建了一个小型的局域网,路由器的IP为192.168.1.1,然后server链接到路由器后,分配的IP是192.168.1.101,然后我通过另外一个链接路由器的PC机,浏览器输入 
192.168.1.101:8080/client,却无法访问,出现无法打开的页面。前面所有的步骤的ip我都更改过,但就是无法访问。 
       然后我又链接到公网的那个58.198.101.61,同一网段的ip就可以访问了。 
      我不知道构建局域网时,哪里出现问题,望大牛解惑 

Re: 访问server问题

Posted by Yongchuan Dai <dy...@gmail.com>.
非常感谢,问题已解决


在 2013年6月5日下午5:10,zhang.xiaofei <zh...@oncloudit.com>写道:

> 你的server 是1个网卡 你改了ip ? 还是2个网卡?
> 1个的话改过ip你就再初始化下cloud-stack数据库
> #cloud-setup-databases cloud:password@localhost --deploy-as=root:password
> 初始化过程中看下serverip是否正确
> 然后运行
> # cloud-setup-management
>
> 然后看下8080端口有没有起来 没得话 去看日志
>
> #tail -f /var/log/cloud/management/catalina.out
>
>
> 2013-06-05
>
>
>
> zhang.xiaofei
>
>
>
> 发件人:Yongchuan Dai <dy...@gmail.com>
> 发送时间:2013-06-05 15:46
> 主题:访问server问题
> 收件人:"users-cn"<us...@cloudstack.apache.org>
> 抄送:
>
> 大家好:
>        在安装环境中,我遇到一个问题。问题描述如下:
>
>      开始安装cloudstack中,我的management
> server的ip是58.198.101.61,安装完成后,然后我可以通过同一网段的58.198.101.73的一台PC机,在浏览器里输入
> http://58.198.101.61:8080/client
>
> 可以访问,但是由于这两个IP都是公网,我自己用路由器构建了一个小型的局域网,路由器的IP为192.168.1.1,然后server链接到路由器后,分配的IP是192.168.1.101,然后我通过另外一个链接路由器的PC机,浏览器输入
> 192.168.1.101:8080/client,却无法访问,出现无法打开的页面。前面所有的步骤的ip我都更改过,但就是无法访问。
>        然后我又链接到公网的那个58.198.101.61,同一网段的ip就可以访问了。
>       我不知道构建局域网时,哪里出现问题,望大牛解惑
>