You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@asterixdb.apache.org by "Malarout, Namrata (398M-Affiliate)" <Na...@jpl.nasa.gov> on 2015/09/18 03:44:28 UTC

Bind web interface to IP address of machine

Hi,
I have installed AsterixDB on a remote machine. I would like to access the web interface on my laptop. We want to open up a port of the machine to access the interface. So how can I bind it to the IP address of the machine instead of the local host? I saw some solutions but I was confused about which xml files to edit. Any help would be appreciated.
Thanks in advance.
Regards,
Namrata

Re: Bind web interface to IP address of machine

Posted by Ian Maxon <im...@uci.edu>.
Hi Namrata,
It kind of depends on how the AsterixDB instance was deployed.
Generally, if you're using YARN or Managix, the "<client_ip>"
attribute in the cluster description is the interface which the Web
interface and other client-facing things are bound. The cluster
description is the XML file that was used to make the instance,
describing the node controller and cluster controller locations. The
default one is under clusters/local/local.xml (for Mangix).

Unfortunately you have to delete and remake the instance to change
this if Managix is being used; the cluster description is relatively
immutable.

Please feel free to ask away if anything's unclear, I know I am
speaking in very general terms...

Thanks,
-Ian

On Thu, Sep 17, 2015 at 6:44 PM, Malarout, Namrata (398M-Affiliate)
<Na...@jpl.nasa.gov> wrote:
> Hi,
> I have installed AsterixDB on a remote machine. I would like to access the
> web interface on my laptop. We want to open up a port of the machine to
> access the interface. So how can I bind it to the IP address of the machine
> instead of the local host? I saw some solutions but I was confused about
> which xml files to edit. Any help would be appreciated.
> Thanks in advance.
> Regards,
> Namrata

Re: Bind web interface to IP address of machine

Posted by "Malarout, Namrata (398M-Affiliate)" <Na...@jpl.nasa.gov>.
Thanks Chris and Ian for your quick replies. The port was opened up and
it¹s working. :)

On 9/17/15, 6:49 PM, "Mattmann, Chris A (3980)"
<ch...@jpl.nasa.gov> wrote:

>bind to 0.0.0.0 which will bind to all interfaces :)
>
>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>Chris Mattmann, Ph.D.
>Chief Architect
>Instrument Software and Science Data Systems Section (398)
>NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
>Office: 168-519, Mailstop: 168-527
>Email: chris.a.mattmann@nasa.gov
>WWW:  http://sunset.usc.edu/~mattmann/
>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>Adjunct Associate Professor, Computer Science Department
>University of Southern California, Los Angeles, CA 90089 USA
>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
>
>
>
>
>-----Original Message-----
>From: "Malarout, Namrata (398M-Affiliate)" <Na...@jpl.nasa.gov>
>Reply-To: "users@asterixdb.incubator.apache.org"
><us...@asterixdb.incubator.apache.org>
>Date: Thursday, September 17, 2015 at 6:44 PM
>To: "users@asterixdb.incubator.apache.org"
><us...@asterixdb.incubator.apache.org>
>Subject: Bind web interface to IP address of machine
>
>>Hi,
>>I have installed AsterixDB on a remote machine. I would like to access
>>the web interface on my laptop. We want to open up a port of the machine
>>to access the interface. So how can I bind it to the IP address of the
>>machine instead of the local host? I
>> saw some solutions but I was confused about which xml files to edit. Any
>>help would be appreciated.
>>Thanks in advance.
>>Regards,
>>Namrata
>


Re: Bind web interface to IP address of machine

Posted by "Mattmann, Chris A (3980)" <ch...@jpl.nasa.gov>.
bind to 0.0.0.0 which will bind to all interfaces :)

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Chief Architect
Instrument Software and Science Data Systems Section (398)
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 168-519, Mailstop: 168-527
Email: chris.a.mattmann@nasa.gov
WWW:  http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Associate Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++





-----Original Message-----
From: "Malarout, Namrata (398M-Affiliate)" <Na...@jpl.nasa.gov>
Reply-To: "users@asterixdb.incubator.apache.org"
<us...@asterixdb.incubator.apache.org>
Date: Thursday, September 17, 2015 at 6:44 PM
To: "users@asterixdb.incubator.apache.org"
<us...@asterixdb.incubator.apache.org>
Subject: Bind web interface to IP address of machine

>Hi,
>I have installed AsterixDB on a remote machine. I would like to access
>the web interface on my laptop. We want to open up a port of the machine
>to access the interface. So how can I bind it to the IP address of the
>machine instead of the local host? I
> saw some solutions but I was confused about which xml files to edit. Any
>help would be appreciated.
>Thanks in advance.
>Regards,
>Namrata