简体   繁体   English

没有连接到FI-LAB VM(甚至无法ping)

[英]No Connection to FI-LAB VM (even unable to ping)

As the title says i am trying to test out the FI-LAB. 正如标题所示我试图测试FI-LAB。 For that purpose i already created a VM following a tutorial from a FI-WARE Webinar. 为此,我已经根据FI-WARE网络研讨会的教程创建了一个VM。

I associated a floating IP to the VM, created a KeyPair for it (and assigned it of course) and opened Port 22 with a Security Group for this VM. 我将一个浮动IP与VM相关联,为它创建了一个KeyPair(并且当然已分配它),并为该VM打开了带有安全组的端口22。

However I can not connect it with VM display on the Lab-Site (nothing ever happens and even if i am lucky enough to get a Window for it, it stays grey). 但是我无法将它与实验室网站上的VM显示器连接(没有任何事情发生,即使我很幸运能够获得一个Window,它仍然是灰色的)。

After reading on stackoverflow and some googlesearches i set up a new KeyPair for that VM, downloaded the keyfile, transformed it to a .ppk with puttygen and tried connecting to the VM with Putty. 在阅读stackoverflow和一些谷歌搜索后,我为该VM设置了一个新的KeyPair,下载了密钥文件,用puttygen将其转换为.ppk并尝试使用Putty连接到VM。 However I get a 'Connection refused' error when trying to connect via Putty. 但是,当尝试通过Putty连接时,我收到“连接被拒绝”错误。

Guessing this might be caused by my companies proxy (maybe blocking the application when connecting to the internet), i tried to ping the VM via command-line. 猜测这可能是由我的公司代理(可能在连接到互联网时阻止应用程序)引起的,我试图通过命令行ping VM。

I tried both the floating and the initial IP of that VM in my command-line and both ran out with a time-out. 我在命令行中尝试了该VM的浮动IP和初始IP,并且都超时了。

So my question: Am i missing something? 所以我的问题是:我错过了什么吗? Did someone else have this problem and might have a solution? 其他人是否有这个问题并且可能有解决方案?

PS I created multiple VMs (sometimes from Images, sometimes blank new ones) and neither did work. PS我创建了多个虚拟机(有时来自图像,有时是空白的虚拟机)并且都没有工作。

Thanks in advance 提前致谢

EDIT: I just tried to ping the lab.fi-ware.org site and the cloud.lab.fi-ware.org site...both pings timed out but i can open it in all my web browsers...maybe this might help someone understand the problem 编辑:我只是试图ping lab.fi-ware.org网站和cloud.lab.fi-ware.org网站...两个ping超时但我可以在我的所有网络浏览器中打开它...也许这可能会帮助别人理解这个问题

EDIT 2: I now tried it with my phone...i can ping the lab-server from my phone but i still can not ping the floating ip of my VM on any device 编辑2:我现在尝试使用我的手机...我可以从我的手机ping实验室服务器,但我仍然无法在任何设备上ping我的VM的浮动IP

EDIT 3: It is fixed...it was caused by a security rule our company recently setup...no problems with FI-WARE :) 编辑3:它是固定的...它是由我们公司最近设置的安全规则引起的... FI-WARE没有问题:)

I had similar problems accessing FI-WARE Lab VM because I didn't do a creation of VM and all the preparatory actions in right order - so the security rule (ie opening port 22) wasn't acknowledged by VM until I restarted the instance. 我在访问FI-WARE Lab VM时遇到类似的问题,因为我没有按正确的顺序创建VM和所有准备操作 - 因此在我重新启动实例之前,VM未确认安全规则(即打开端口22) 。

For the matter of when the restart is needed after adding security rule see This question . 有关在添加安全规则后何时需要重新启动的问题,请参阅此问题

But as far as this could be a proxy issue, I'm afraid there is not much you can do without asking your admin for help. 但是,就这可能是一个代理问题而言,我担心如果不向管理员寻求帮助,你就无能为力。 Small chances, but you can try different ports, like mentioned in This question's accepted answer . 机会很小,但你可以试试不同的端口,就像这个问题中接受的答案一样

But, I hope that it was just a FI-WARE temporary bug, and that you are in :). 但是,我希望它只是一个FI-WARE临时错误,而且你在:)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM