Skip to content

curl error: Failed to connect to <hostname> port 8443: Connection timed out #4

@malle-pietje

Description

@malle-pietje

Whenever you observe an error like this in your web server's error log, it is often an indication of a connectivity issue between the server running the API Browser tool and your controller.

curl error: Failed to connect to <hostname> port 8443: Connection timed out
PHP Warning: Invalid argument supplied for foreach() in path/to/api_browser_tool/index.php on line 415

Next steps:

  • check the host name in your config file
  • check whether outgoing connections to port 8443 are allowed on the server running the API Browser tool
  • check whether inbound connections to port 8443 from the API Browser tool's server are allowed on the controller server

How to actually check this depends on the firewall that is controlling the connections in/out but running this command from the API Browser tool server's command line, will probably provide some useful errors:

wget https://<hostname or ip>:8443

This error typically occurs in shared hosting environments where commercial web hosting providers often apply strict firewall rules by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions