Ask Your Question
1

can't connect apche server in instance

asked 2014-06-03 10:56:38 -0500

alphazhang gravatar image

updated 2014-06-03 11:58:24 -0500

I install mutinode openstack in with virtualbox in a ubuntu host(192.168.226.117). And create new ubuntu instance with floating ip(192.168.226.192) and fix ip(10.0.0.4). this instance can connect internet. and I install apche with apt-get install apache2 in this instance. but there is no response when I try to open http://192.168.226.192 or http://192.168.226.192:80 with firefox from my ubuntu host(117).

ping 192.168.226.192 successfully from 192.168.226.192

ping 192.168.226.192
PING 192.168.226.192 (192.168.226.192) 56(84) bytes of data.
64 bytes from 192.168.226.192: icmp_seq=1 ttl=64 time=5.64 ms
64 bytes from 192.168.226.192: icmp_seq=2 ttl=64 time=1.45 ms
edit retag flag offensive close merge delete

Comments

In your instance VM's Firefox use local host ip or private IP. If you enabled both ingress & egress for http rule in security group then try floating ip in your host machine firefox (laptop)

SGPJ gravatar imageSGPJ ( 2014-06-03 11:14:39 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-06-03 12:39:31 -0500

mpetason gravatar image

You could test the port with Telnet: telnet 192.168.226.192. You need to verify that the server is listening on 0.0.0.0 and not localhost: netstat -nat |grep 80 Verify that your security group rules allow for TCP connections.

edit flag offensive delete link more
1

answered 2014-06-03 11:15:16 -0500

SGPJ gravatar image

updated 2014-06-04 03:28:24 -0500

In your instance VM's Firefox use 0.0.0.0, local host ip or private IP. If you enabled both ingress & egress for TCP & http rule in security group then try floating ip in your host machine firefox (laptop).

https://ask.openstack.org/en/question...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-06-03 10:56:38 -0500

Seen: 49 times

Last updated: Jun 04 '14