Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Unable to login to built-in web client at port 4200 using HDP 2.5 set-up in Microsoft Azure.

avatar

I had setup a HDP 2.5 sandbox in microsoft azure. I am able to login the VM successfully through putty and access all the hadoop services but am unable to login to SSH client from web-client using "http://<my-ip-address>:4200". I even opened the port 4200 from azure. still am facing the error :

Network Error (tcp_error)
A communication error occurred: "Connection refused"
The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.

Please help...
1 ACCEPTED SOLUTION

avatar
Master Mentor

@sandeep Koutarapu

4200 web terminal port is opened by the service "shellinabox".

So can you please check if that service is running or not?

- I do not have Azur VM ready at my end currently to check the same. However in HDP sandbox for Linux i see that this service is up as following:

# shellinaboxd -u shellinabox -g shellinabox --cert=/var/lib/shellinabox --port=4200 --background=/var/run/shellinaboxd.pid -t -s /:SSH:sandbox.hortonworks.com --css white-on-black.css

.

View solution in original post

3 REPLIES 3

avatar
Master Mentor

@sandeep Koutarapu

4200 web terminal port is opened by the service "shellinabox".

So can you please check if that service is running or not?

- I do not have Azur VM ready at my end currently to check the same. However in HDP sandbox for Linux i see that this service is up as following:

# shellinaboxd -u shellinabox -g shellinabox --cert=/var/lib/shellinabox --port=4200 --background=/var/run/shellinaboxd.pid -t -s /:SSH:sandbox.hortonworks.com --css white-on-black.css

.

avatar
@Jay SenSharma

HI Jay SenSharma,

Am able to access the webclient and login to my linux vm from my browser now. thank you for the help 🙂

avatar
New Member

@Jay SenSharma

I am facing this similar problem, i am running HDP 2.5 on Azure and opened the port 4200 in NSG. Still i am not able to use the in built webssh client. I tried to find the service "shellinaboxd" but not able to find it. Can you please help ?

[root@sandbox ~]# service shellinaboxd status Redirecting to /bin/systemctl status shellinaboxd.service ● shellinaboxd.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead) [root@sandbox ~]# service shellinaboxd start Redirecting to /bin/systemctl start shellinaboxd.service Failed to start shellinaboxd.service: Unit shellinaboxd.service failed to load: No such file or directory.