docker-znc icon indicating copy to clipboard operation
docker-znc copied to clipboard

document how to access webui

Open valentt opened this issue 8 years ago • 12 comments

Hi, thanks for great docker znc image. I see documentation mentioning webui but there is no explanation how to access webui once docker is running. Can you please explain that in documentation readme. Thanks.

valentt avatar Aug 24 '15 23:08 valentt

I have the same problem! Only the 32772 port is being forwarded by default and I can find no hint whatsoever as to where the web interface is listening...

erikkaplun avatar Dec 07 '15 12:12 erikkaplun

Hi, yes you can! :) Just type https://your_ip:32772/ znc will know that you are using https and will make the proper redirect

  Lindolfo Lorn Rodrigues

On Mon, Dec 7, 2015, at 10:23 AM, Erik Allik wrote:

I have the same problem! Only the 32772 port is being forwarded by default and I can find no hint whatsoever as to where the web interface is listening...

— Reply to this email directly or view it on GitHub[1].

Links:

  1. https://github.com/jimeh/docker-znc/issues/11#issuecomment-162510211

lorn avatar Dec 07 '15 13:12 lorn

I realized Safari and Chrome can't open the page for some reason but Firefox can, on OS X — could that be mentioend?

On Mon, Dec 7, 2015 at 3:25 PM Lindolfo Rodrigues [email protected] wrote:

Hi, yes you can! :) Just type https://your_ip:32772/ znc will know that you are using https and will make the proper redirect

Lindolfo Lorn Rodrigues

On Mon, Dec 7, 2015, at 10:23 AM, Erik Allik wrote:

I have the same problem! Only the 32772 port is being forwarded by default and I can find no hint whatsoever as to where the web interface is listening...

— Reply to this email directly or view it on GitHub[1].

Links:

  1. https://github.com/jimeh/docker-znc/issues/11#issuecomment-162510211

— Reply to this email directly or view it on GitHub https://github.com/jimeh/docker-znc/issues/11#issuecomment-162522965.

erikkaplun avatar Dec 07 '15 14:12 erikkaplun

Like @lorn, said, ZNC by default uses the same port both for IRC and HTTP. Apologies for the confusion. I've added more detailed info about how to access the web-interface in 172bcb6f2da1256c0512a44d4c4b6694318fe1c2.

If you guys are happy with it, I'll close this issue :)

jimeh avatar Dec 07 '15 14:12 jimeh

:+1:

  Lindolfo Lorn Rodrigues

On Mon, Dec 7, 2015, at 12:32 PM, Jim Myhrberg wrote:

Like @lorn[1], said, ZNC by default uses the same port both for IRC and HTTP. Apologies for the confusion. I've added more detailed info about how to access the web-interface in 172bcb6[2].

If you guys are happy with it, I'll close this issue :)

— Reply to this email directly or view it on GitHub[3].

Links:

  1. https://github.com/lorn
  2. https://github.com/jimeh/docker-znc/commit/172bcb6f2da1256c0512a44d4c4b6694318fe1c2
  3. https://github.com/jimeh/docker-znc/issues/11#issuecomment-162541117

lorn avatar Dec 07 '15 15:12 lorn

If you could only add that some browsers might not be able to connect to it (it's probably not fully standard HTTP protocol)? otherwise people might just assume the container is misconfigured and isn't letting HTTP connections through, because it's hardly ever the case that a standard browser cannot access a working HTTP service.

erikkaplun avatar Dec 07 '15 16:12 erikkaplun

@eallik Are you sure there's no proxy config or something that's preventing Chrome and Safari from accessing the webui for you? Maybe try all three browsers from a different machine? I've never had any issue with any browser on desktop or phones. ZNC should be acting like a 100% normal HTTP server.

As far as I understand it, ZNC decides on a per connection basis if the connection should be treated as HTTP or IRC based on the first request received from the client.

jimeh avatar Dec 15 '15 10:12 jimeh

My Safari and Chrome have no proxies configured... it's all standard vanilla stuff. On Tue, 15 Dec 2015 at 12:19, Jim Myhrberg [email protected] wrote:

@eallik https://github.com/eallik Are you sure there's no proxy config or something that's preventing Chrome and Safari from accessing the webui for you? Maybe try all three browsers from a different machine? I've never had any issue with any browser on desktop or phones. ZNC should be acting like a 100% normal HTTP server.

As far as I understand it, ZNC decides on a per connection basis if the connection should be treated as HTTP or IRC based on the first request received from the client.

— Reply to this email directly or view it on GitHub https://github.com/jimeh/docker-znc/issues/11#issuecomment-164713749.

erikkaplun avatar Dec 15 '15 20:12 erikkaplun

@jimeh, there are some ports that chrome/safari will refuse to connect to. for example ports 6667/6697. Can you try exposing znc on port 80/8080, and see if that helps?

moredhel avatar Jun 03 '16 15:06 moredhel

How can I disable the web ui ? so far people can tweak there chrome to access the UI by http.

kopax avatar Jul 17 '18 20:07 kopax

Hi kopax, you should probably be opening another issue for this. You can look at the following pages that should resolve your issues: Webadmin Module Enabling/Disabling Modules

moredhel avatar Jul 18 '18 07:07 moredhel

To anyone else who experiences the original issue, there is a fix described in the FAQ.

https://wiki.znc.in/FAQ#How_can_I_access_webadmin_with_my_browser.3F

moredhel avatar Jul 18 '18 07:07 moredhel