Server disconnected (code: 1006) openstack - console

Trying to connect to my VM instance when all of a sudden I get this error from the console:
Server disconnected (code: 1006)
All I did was move from one room to another (changing Ethernet cables). Please help

Is this at your house or at work? Your question is vague and I'm wondering if your server now has a new IP and you might need to disassociate the current floating IP and re-associate it with a new floating IP. You can do that from the instance page using the dropdown for the specific instance.
Also try soft/hard rebooting the VM instance after doing the previous step and see if that helps you.

Check the "novncproxy_host" option under nova.conf ( vi /etc/nova/nova.conf) file
if the novncproxy_host IP is set as 0.0.0.0 change it with your Controller IP where the Nova Proxy service is running.
novncproxy_host=172.25.20.10

Related

Not able to reach from one instance to other

I have 2 aws ec2 instances and facing reach-ability issue from one instance to another. Have checked for SG, IGW, and it looks fine. Have also added subnet in /etc/hosts.allow to allow the hosts.
Can someone please suggest how to debug this reach-ability issue ?
I'm trying with
telnet <ip of other ec2 instance> <port>
from one ec2 instance to check if one instance is able to connect to open port where service is running of other instance.
Can capturing packet trace from source and destination will help? If yes, what will be the command for it ?

Unable to ping to machine.local but can ping machine

My ubuntu machine name is machine. I am able to do successfully ping machine, but when I do ping machine.local, it doesn't resolve machine.local and gives message
ping: machine.local: Name or service not known
How should I fix this?
Thnaks.
Configure and start MDNS service or add appropriate records to your DNS server or add an antry to your /etc/hosts file
Apart from what #mikhail-zakharov said, I found out that apparently, avahi service was down and I needed to restart. Article at smallbusiness.chron.com/resolving-local-ubuntu-38861.html and https://access.redhat.com/discussions/3258021.

How to determine source of mysterious server name on my network

Over the last few days I have noticed a mysterious (unknown to me) server hostname that shows up on both Ubuntu's Nautilus Network section as well as Windows File Manager network group. The hostname does not show in the list of clients on my router. If I double click the hostname icon to try to connect to it I get a connection refused error. The hostname's appearance is random.
I have non-factory admin and wireless passwords set on my router as well as MAC filtering. Router firewall is on and no unneeded service ports are opened (NFS, etc.).
How can I determine the source of this unknown hostname and how can I close down my network in case this is really someone that has managed to break into my network? Also, if I have explicitly listed the MAC addresses of all my devices how could a non-listed device be able to connect?
Thank you for any comments you can provide.
Resolved; see previous comment on NetBios over TCP/IP.

connecting to another network present in one network

I have been trying to create a server in one network but the people in another network cant connect to my server? Even though my IP is dynamic (dhcp :yes)
I want to create a server in one network but want to connect people to that server present in another network. I started a server "eg: 103.251.9.85:27015"
even though my IP is dynamic, they can't connect to my server? Help me ...
who ever knows my IP address and port number will connect to my server, but when I am starting a server they cant connect.
Your server needs a DNS record.
DHCP is great for allocating an IP address - but you then have to manually tell everyone what the IP Address is.
You should define your Server in your DHCP configuration, assuming that there is a DNS Server also.
By default the DHCPD informs the DNS Server - assuming they are both under your control.
First ensure that you have network connectivity between the nodes - there can be NATs, Firewalls and a lot of different reasons why you can not connect. My advice for you would be to try and use netcat.
Once you have netcat on your computer - start it in a server mode. Then ask your friend to download netcat on his/her computer and connect to your IP address. If you can establish connection - great. Then make a question regarding your server program. If netcat fails - then there is network connectivity issue and you will find better help for those issues in the power user or network engineering Stack Exchange sites.

How to make the ip of my computer public so that devices outside the same network can access webservice in that particular ip

i have an android application using webservice which is working fine from inside a network. i mean, if both mobile and computer are connected to the same network, i can run the app perfectly, but if i change network of any one of it to another network then, 'cannot establish connection to server' error is shown.
What i want is to get an ip from which i can acess the app from any network
this is how my connection code in the android application looks like
mWebview .loadUrl("http://192.193.194.195/Application/startpage.php");
please give me step by step instructions, i searched for it a lot, but i couldnt find a good answer for my level 0 networking knowledge :)
Thanks
You have to host the server on a public IP address where every network can see the server.
Then you have to use the external/internet ip addres of your router. Find out with http://whatismyip.com Then on your router forward port 80 to your pc with ip 192.193.194.195.

Resources