Hello,

The "connection refused" error means means guacd (guacamole-server) is not listening on 192.168.1.41:4822. I don't know if you can compile guacd on Windows, however you can easily install it in WSL.

You can install it with these documentations:
- Build guacamole from sources: https://guacamole.apache.org/doc/gug/installing-guacamole.html#building-guacamole-server - Install with docker: https://guacamole.apache.org/doc/gug/guacamole-docker.html#installing-guacamole-with-docker

Best regards,
Corentin Soriano

On 2025-02-02 13:17, Александр Комов wrote:

After logging to 127.0.0.1:8080/guacamole-1.5.5/ or 192.168.1.41:8080/guacamole-1.5.5/ an internal error occurs.
Installed.
Windows 10 Pro.
Java(TM) Development Kit 23.0.1 (64-bit)
Tomcat 9.0

Messages in the log tomcat9-stdout:
20:11:15.483 [main] INFO o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is "C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\guacamole-1.5.5". 20:11:16.733 [main] INFO o.a.g.GuacamoleServletContextListener - Read configuration parameters from "C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\guacamole-1.5.5\guacamole.properties". 20:11:16.739 [main] INFO o.a.g.rest.auth.HashTokenSessionMap - Sessions will expire after 60 minutes of inactivity. 20:11:21.815 [main] INFO o.a.g.t.w.WebSocketTunnelModule - Loading JSR-356 WebSocket support... 20:11:25.483 [main] WARN o.g.jersey.server.wadl.WadlFeature - JAXBContext implementation could not be found. WADL feature is disabled. 20:11:54.321 [http-nio-8080-exec-3] INFO o.a.g.r.auth.AuthenticationService - User "USERNAME" successfully authenticated from 192.168.1.41. 20:11:56.570 [http-nio-8080-exec-9] ERROR o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Creation of WebSocket tunnel to guacd failed: java.net.ConnectException: Connection refused: getsockopt 20:11:57.097 [http-nio-8080-exec-2] ERROR o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request failed: java.net.ConnectException: Connection refused: getsockopt

I have created the files: guacamole.properties, guacd.conf.

guacamole.properties

guacd-hostname: 192.168.1.41
guacd-port: 4822

guacd.conf

[server]

bind_host = 192.168.1.41
bind_port = 4822

It didn't help. There were solutions for Linux on the forums. Maybe the problem is in the WARN message, or it's not suitable for Windows, or I don't understand something. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

Reply via email to