Here are the XAMPP default ports that are open for use:
- Code: Select all
ftp 21/tcp # File Transfer [Control] (XAMPP: FTP Default Port)
smtp 25/tcp mail # Simple Mail Transfer (XAMPP: SMTP Default Port)
http 80/tcp # World Wide Web HTTP (XAMPP: Apache Default Port)
pop3 110/tcp # Post Office Protocol - Version 3 (XAMPP: POP3 Default Port)
imap 143/tcp # Internet Message Access Protocol (XAMPP: IMAP Default Port)
https 443/tcp # http protocol over TLS/SSL (XAMPP: Apache SSL Port)
mysql 3306/tcp # MySQL (XAMPP: MySQL Default Port)
AJP/1.3 8009 # AJP/1.3 (XAMPP: Tomcat AJP/1.3 Port)
http-alt 8080/tcp # HTTP Alternate (see port 80) (XAMPP: Tomcat Default Port)
As you can see there is no telnet server on port 23 for you to connect to.
You will have to install a telnet server for it to work for you.
Google will more than likely come up with more on telnet and open source telnet servers for Windows.
As localhost is only available to you on your own PC then I would assume that using phpMyAdmin would be the preferred choice as it is already set up and is just perfect for managing MySQL.
You should not be influenced by the tutorial you are reading as by far the easiest and most practicable way of creating and managing MySQL databases is by using a GUI like phpMyAdmin when using Windows OS.
Also most of these tutorials are aimed a Linux users.
In Windows a Graphical User Interface is what Windows is all about.
To regress to a Linux style command line is somewhat down grading apart from being difficult to grasp for new users.
If you want to use the command line to create and manage databases then in XAMPP that is already catered for by running the various commands in xampp\mysql\bin.
Even using telnet to a remote server is usually not supported in a shared hosting environment.
Secure Shell SSH is more the choice and even it is not generally available unless you are running a VPS or a Dedicated Server in a DC.
Also, you could try a forum search for telnet
to see if other users have more info to offer you.
There is an open source free telnet/ssh daemon
here but there may be more by using Google:
C:\WINDOWS\help\telnet.chm - Troubleshooting gives this:
Error while connecting to localhost: Could not open a connection to host on port 23.
Cause: Telnet Server is not configured to listen on port 23, or Telnet Server is not started.
Solution: Ensure that Telnet Server is started and configured to listen on port 23. If that is not possible, specify the configured port after the host name when connecting.
Click on Start/Help and Support
Type telnet server
in the text box
Click on the -> arrow
This will give you some insight into the built in XP telnet server.
So the bottom line, IMHO, is to use phpMyAdmin and forget about telnet. But as always the choice is yours. I have outlined above what you must do to get telnet working on Windows.