why do I get this error when I try to download something on ubuntu curl: (3) URL…
- User
why do I get this error when I try to download something on ubuntu
curl: (3) URL rejected: Port number was not a decimal number between 0 and 65535
- Assistant
The error message "URL rejected: Port number was not a decimal number between 0 and 65535" from
curlindicates that there is an issue with the URL you're trying to use for the download. This error is specifically pointing out that the port number specified in the URL is either incorrect or not valid.Here's how you can troubleshoot and fix this issue:
-
Check the URL Syntax: Verify that the URL you are using is correctly formatted. A URL with a port might look like this: . Ensure that the port number is a valid integer between 0 and 65535.
-