At a guess - I haven’t done this lab - I’d suspect that the remote server hasn’t started correctly.
The error message is saying the server isn’t responding, which is rarely something you can fix.
If you have nmap you can try a quick check of nmap -Pn -sC -sV -p 30711 -vvvvv --reason 139.59.178.146 and see if it is listening, If it isn’t then double check the IP address and port are correct.
If they are correct, it might need someone to reset the server.
the ip address and port are correct and it something that happened to me for multiple days on different ip address… how an i reset the server? im using the box from this site not on my own parrot.
the ip address and port are correct and it something that happened to me for multiple days on different ip address… how an i reset the server? im using the box from this site not on my own parrot.
I dont know for sure as I haven’t done the academy lab. I’d suggest raising a jira ticket with HTB support.
I am having the same issue. Target: 139.59.166.56:31512 Time Left: 71 minutes Authenticate to 139.59.166.56 with user “root” and password “password” + 0 Connect to the database using the MySQL client from the command line. Use the ‘show databases;’ command to list databases in the DBMS. What is the name of the first database? =========== can’t ping the ip address. perhaps it’s not in the same network. my ip address is 209.97.137.189 eth0 , 10.16.0.117 eth0:1: and 10.10.14.216 tun0. Here is the ping response. PING 139.59.166.56 (139.59.166.56) 56(84) bytes of data. ^C — 139.59.166.56 ping statistics — 18 packets transmitted, 0 received, 100% packet loss, time 17374ms
Hi, thanks for the above input. Here is what worked for me:
Step 1:
Check using nmap that the actual server is up on that port : t3n3br1s$> nmap -p 30157 167.172.55.137 -Pn -sV
Starting Nmap 7.92 ( https://nmap.org ) at 2022-09-22 18:39 BST
Nmap scan report for 167.172.55.137
Host is up (0.020s latency).
PORT STATE SERVICE VERSION
30157/tcp open mysql MySQL 5.5.5-10.7.3-MariaDB-1:10.7.3+maria~focal
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 0.91 seconds`
If successful, then proceed to step 2:
Step 2: {specify the --protocol flag as tcp (see above) and specify the --host flag as the target server}
t3n3bris$> mysql --protocol=tcp -u root --host=167.172.55.137 -P 30157 -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 6
Server version: 10.7.3-MariaDB-1:10.7.3+maria~focal mariadb.org binary distribution
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]>
okay i have the solution for everyone which really works. which is first turn on mysql service in your linux VM by sudo systemctl start mysql then connect by typing mysql -h <IP> -P <PORT> -u root -p --skip-ssl then enter password. That’s it