为什么无法连接到127.0.0.1 HortonWorks仪表板? [英] Why can't I connect to 127.0.0.1 HortonWorks Dashboard?

查看:63
本文介绍了为什么无法连接到127.0.0.1 HortonWorks仪表板?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Windows 10上安装了Virtual Box(版本5.2.0 r118431(Qt5.6.2)),并且导入了设备HDP_2.4_virtualbox_v3(可从

I have installed Virtual Box (Version 5.2.0 r118431 (Qt5.6.2)) on Windows 10 and i imported appliance HDP_2.4_virtualbox_v3 (downloaded from here).

我在此处逐步学习了该教程

虚拟机正在我试图从其访问仪表板的计算机上运行.我已经在沙箱上设置了仅主机适配器"选项,以便计算机和虚拟机可以通信

The virtual machine is running on the computer from where I am trying to access the Dashboard. I have set up the Host Only Adapter Option on the sandbox so the computer and the virtual machine can communicate

CentO完成引导后,提示我输入ip 127.0.0.1:8888,它是与教程不同的地址,

After the CentOs finished booting I am prompt to enter to the ip 127.0.0.1:8888, which is a different address from the tutorial,

并且没有服务器正在监听该地址,因为我得到了

and there is no server listening to that address because i get

"127.0.0.1拒绝连接."在浏览器中.

"127.0.0.1 refused to connect." in the browser.

此处的图片

推荐答案

在命令提示符下运行 ipconfig 命令,并在 Ethernet adapter VirtualBox Host-Only Network .

Run the ipconfig command in your command prompt and identyfy your virtual box's ip under Ethernet adapter VirtualBox Host-Only Network.

获取该IP地址,然后转到您的虚拟盒子.

Take that ip address and go to your Virtual Box.

选择您的设备,然后转到设置->网络->适配器1->端口转发.

Select your appliance and go to Settings->Network->Adapter 1->Port Forwarding.

将您需要的8080、8888等端口的主机IP 127.0.0.1替换为您的虚拟框的IP,其名称应类似于 192.168.x.x .

Replace the Host IP 127.0.0.1 for the port you need 8080, 8888 and so on with the ip of your virtual box that should be sth like 192.168.x.x.

现在启动您的沙箱,在其上登录并尝试在浏览器中连接到新的IP集 192.168.x.x:8888 .

Now start your sandbox, login on it and try to connect in your browser to the new ip set 192.168.x.x:8888.

使用设备 HDP_2.4_virtualbox ,因为在最近的某些Linux命令(如netstat)被认为已弃用并且不再起作用,这将在尝试调试或识别网络问题时使您的生活变得更加艰辛.

Use appliance HDP_2.4_virtualbox because in the most recent some linux commands like netstat are considered deprecated and no longer function, which willmake your life harder when trying to debug or identify a networking problem.

如果仍然遇到问题,请重新安装操作系统,重新安装虚拟盒并重新导入沙盒,在端口转发"设置中进行所需的更改,应该没事.

If you still encounter issues eith it, reinstall your operating system, reinstall your virtual box and reimport the sandbox, make the changes needed in the Port Forwarding settings and it should be ok.

这篇关于为什么无法连接到127.0.0.1 HortonWorks仪表板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆