ServerUnavailableError
The Cause
Section titled “The Cause”The server connection was refused. The server at the specified origin is not reachable or not running.
This error occurs when:
- The server is not running
- The server is running on a different port
- A firewall is blocking the connection
- The server address/hostname is incorrect
The Solution
Section titled “The Solution”To resolve this:
- Check if the server is running:
# Test if the server respondscurl http://localhost:3000-
Verify the correct port: Ensure your configuration uses the correct server port
-
Check firewall settings: Make sure the port is not blocked
-
Verify the server address: Confirm the hostname or IP address is correct
If you’re running a local development server, make sure to start it before running Thymian operations that require server access.