Snippets tagged “host”
3 snippets use this tag.
- How do I find out my MySQL URL, host, port and username?Java
To find out your MySQL connection details, you will need to look in your MySQL configuration files. The specific location of these files will depend on how you installed MySQL, but common locations include /etc/my.cnf,
- Parsing domain from a URLPHP
To parse the domain from a URL in PHP, you can use the parse_url function, which will return an associative array containing information about the URL.
- Why would a "java.net.ConnectException: Connection timed out" exception occur when URL is up?Java
A java.net.ConnectException: Connection timed out error can occur when a Java application is unable to establish a network connection to the specified host.