Hell yes! Thank you so much.

On Fri, Aug 21, 2020 at 11:49 AM Jean-Baptiste Onofre <j...@nanthrax.net>
wrote:

> Oh sorry, I thought you used ActiveMQ "classic", not Artemis.
>
> About Artemis, you have to use 0.0.0.0 instead of localhost to bind on any
> interface.
>
> Regards
> JB
>
> > Le 21 août 2020 à 16:33, Christopher Pisz <christopherp...@gmail.com> a
> écrit :
> >
> > <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> > <!--
> >  ~ Licensed to the Apache Software Foundation (ASF) under one or more
> >  ~ contributor license agreements. See the NOTICE file distributed with
> >  ~ this work for additional information regarding copyright ownership.
> >  ~ The ASF licenses this file to You under the Apache License, Version
> 2.0
> >  ~ (the "License"); you may not use this file except in compliance with
> >  ~ the License. You may obtain a copy of the License at
> >  ~
> >  ~     http://www.apache.org/licenses/LICENSE-2.0
> >  ~
> >  ~ Unless required by applicable law or agreed to in writing, software
> >  ~ distributed under the License is distributed on an "AS IS" BASIS,
> >  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
> implied.
> >  ~ See the License for the specific language governing permissions and
> >  ~ limitations under the License.
> >  -->
> >
> > <broker xmlns="http://activemq.org/schema";>
> >
> >   <jaas-security domain="activemq"/>
> >
> >   <!-- artemis.URI.instance is parsed from artemis.instance by the CLI
> > startup.
> >        This is to avoid situations where you could have spaces or special
> > characters on this URI -->
> >   <server configuration="file:/var/lib/testbroker/etc//broker.xml"/>
> >
> >   <!-- The web server is only bound to localhost by default -->
> >   <web bind="http://localhost:8161"; path="web">
> >       <app url="activemq-branding" war="activemq-branding.war"/>
> >       <app url="artemis-plugin" war="artemis-plugin.war"/>
> >       <app url="console" war="console.war"/>
> >   </web>
> >
> >
> > </broker>
> >
> > I imagine I need to put something in the <web> section to bind. Not sure
> > what to put.
> >
> >
> > On Fri, Aug 21, 2020 at 10:23 AM Justin Bertram <jbert...@apache.org>
> wrote:
> >
> >> You're using Artemis right? Artemis doesn't have that config file. The
> >> embedded web server is configured in bootstrap.xml. Can you paste your
> >> bootstrap.xml?
> >>
> >>
> >> Justin
> >>
> >> On Fri, Aug 21, 2020 at 9:12 AM Christopher Pisz <
> >> christopherp...@gmail.com>
> >> wrote:
> >>
> >>> Either I don't have Jetty installed or I don't know where to find the
> >>> config file you refer to.
> >>> Yes I can curl http://localhost:8161
> >>>
> >>>
> >>> On Fri, Aug 21, 2020 at 10:01 AM Jean-Baptiste Onofre <j...@nanthrax.net
> >
> >>> wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> Can you check that you have 0.0.0.0 for jettyPort/host in
> >> conf/jetty.xml
> >>> ?
> >>>>
> >>>> Are you able to access the port locally using curl
> >>>> http://localhost:8161/admin <http://localhost:8161/admin> for
> >> instance ?
> >>>>
> >>>> Regards
> >>>> JB
> >>>>
> >>>>> Le 21 août 2020 à 15:54, Christopher Pisz <christopherp...@gmail.com
> >>>
> >>> a
> >>>> écrit :
> >>>>>
> >>>>> I really want to be able to access the web console remotely for my
> >>>>> development testing.
> >>>>>
> >>>>> I read this:
> >>>>>
> >>>>
> >>>
> >>
> https://activemq.apache.org/components/artemis/documentation/latest/management-console.html
> >>>>>
> >>>>> and it took me to this:
> >>>>> https://jolokia.org/reference/html/security.html
> >>>>>
> >>>>> I created a file called etc/jolokia-access.xml and I put:
> >>>>>
> >>>>> <remote>
> >>>>> <host>localhost</host>
> >>>>> <host>ip that showed in ifconfig under ppp0</host>
> >>>>> </remote>
> >>>>>
> >>>>>
> >>>>> I also opened port 8161 in the firewall.
> >>>>>
> >>>>> However, when I open a browser and put in
> >>> http://machine.domain.com:8161
> >>>> I
> >>>>> got connection refused.
> >>>>>
> >>>>> I can bring up the console locally if someone goes to the machine.
> >>>>> People onsite can ssh -X and get firefox working and then bring it up
> >>>>> locally. I cannot SSH -X firefox for whatever reason, it is
> >> completely
> >>>>> unresponsive, which is why I wanted to configure it somehow to just
> >> let
> >>>> me
> >>>>> use my own browser and access the page.
> >>>>>
> >>>>> Any suggestions?
> >>>>
> >>>>
> >>>
> >>
>
>

Reply via email to