Ask Your Question
0

socket.error: [Errno 111] Connection refused

asked 2016-01-21 08:16:23 -0500

Wohard gravatar image

Hello.

I have an OpenStack environment RDO AIO. I tried to establish a client/server connection between an instance (client) and the host machine (server).
even that my client can ping the host I am not able to establish a connection between my client and server via a personalized tcp port.
Please notice that I have lunched this instance with a group access in which I allowed egress and ingress for all TCP ports.
Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-03-29 06:59:05 -0500

ihar-hrachyshka gravatar image

There are not enough details about your network setup. Please specify which allocation pool you use, which floating and fixed IPs are attached to the instance, how it's exposed to external network (is it running on the provider network, or is it attached to a tenant network that is plugged into a neutron router? etc.)

Generally, instances should not have access to hypervisor host, unless the latter is exposed to public network itself.

edit flag offensive delete link more

Comments

BTW note that egress connections are usually allowed by default, so there is no need to change security groups for the instance. Instead, you should look at firewall (iptables) setup on your hypervisor. It seems that the port is not opened there.

ihar-hrachyshka gravatar imageihar-hrachyshka ( 2016-03-29 07:00:26 -0500 )edit

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: 2016-01-21 08:16:23 -0500

Seen: 299 times

Last updated: Mar 29 '16