Hi:
After a couple of days going crazy with this problem, I figured out how to 
solve it so just leaving this here for future google surfers:
Suddenly my guacamole server stopped working, the logs just showed this error:
11:03:14.552 [ajp-nio-8009-exec-3] DEBUG o.a.g.net.InetGuacamoleSocket - 
Connecting to guacd at localhost:4822. 11:03:14.553 
[ajp-nio-8009-exec-3] ERROR o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel 
request failed: java.net.ConnectException:  Connection refused (Connection 
refused)After a lot of search, I used 127.0.0.1 instead of localhost in the 
guacamole.properties as it worked for other people but no for me.
guacd-hostname: 127.0.0.1
guacd-port: 4822 
Until I noticed that the guacd service was listening in ::1 but not in 
127.0.0.1 

Proxy daemon (guacd) version 1.4.0 started mar 30 11:00:33 Server1 guacd[1300]: 
SUCCESS mar 30 11:00:33 Kalandraka guacd[1303]: Listening on host ::1, port 
4822So, as I am not using Ipv6, just disabled it adding this entry:
net.ipv6.conf.all.disable_ipv6 = 1
To the /etc/sysctl.conf file and restart the system.
Now It works fine.
I hope this helps someone.
Best regards

Reply via email to