Hi,
if you are certain tcp/4822 is opened on firewall, you can probably check
if the guacd service is really listening on that interface. For most linux
distributions command *ss -tunlp | grep 4822 * should work (if not, you can
try substituing ss command for netstat), it should show you something like
this

tcp    LISTEN     0      5         *:4822                  *:*
      users:(("guacd",pid=5,fd=3))

This means the service is listening on all interfaces (the star there,
sometimes it can also look like :::4822 in case IPv6 is enabled). It's
crucial it's listening either on all addresses or on the ip where you are
connecting from guacamole-server (so it shouldn't just be listening on
localhost -> 127.0.0.1:4822).

If it listens on localhost (127.0.0.1), you can adjust the listen address
via -b parameter for guacd (so the command then could be *guacd -b 0.0.0.0
-L info *for example).


If you are sure it's run correctly, you can test the connection from the
guacamole-server VM via nc command for example (or telnet if you are more
familiar with it). For example like this (requires package nc on most
distributions).

# nc -zv 192.168.1.14 4822
Ncat: Version 7.50 ( https://nmap.org/ncat )
Ncat: Connected to 192.168.1.14:4822.
Ncat: 0 bytes sent, 0 bytes received in 0.01 seconds.


It just tries if the connection can be established, if not, it will output
something like this
# nc -zv 192.168.1.14 4823
Ncat: Version 7.50 ( https://nmap.org/ncat )
Ncat: Connection refused.


Then it means there is problem with the connection somewhere (routing,
firewall device, firewall on the VM itself, etc.).


If the connection test succeeds, make sure you're really using the correct
guacd IP in the Guacamole configuration. Also logs from the
guacamole-server could tell what went wrong.


Hope that helps a bit


Best Regards,
Lukas Raska


čt 11. 7. 2019 v 16:37 odesílatel Niubbo75 <[email protected]> napsal:

> Uhmmmm... Seems something went wrong:
>
>
>
> From what I have understand, client side can't connect to guacd, but I have
> open (and check it twice) port 4822 both TCP and UDP.
>
> How can I solve this? What I need to check?
>
>
>
> --
> Sent from:
> http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

Reply via email to