XAMPP 1.4.16 problem

Problems with the Windows version of XAMPP, questions, comments, and anything related.

XAMPP 1.4.16 problem

Postby dizarter » 09. December 2006 02:07

Hello friends,

I'm using WinXP+SP2. XAMPP v 1.4.16 is installed in c:\xampp

When i type localhost (or in internet explorer, it gets me to default xampp start page... so it works ok...

typing localhost/phpmyadmin also works fine... i get PHPMyAdmin default splash screen...

Now, the problem is here:

i found few tutorials on mysql, and all says that easiest way to connect to mysql and start up my first database is by using telnet...

ok, i bring telnet client and type open localhost 23 and it says connection failed

I know that problem is not in my windows firewall, because it's disabled, and further more, typing telnet://cyberspace.org/ works fine.

Please help me, is there any configuration to be done, because i'm eager to start learning php and mysql, but this gets me annoyed.

And yes, i must get this working by using telnet access not by phpmyadmin option.
Posts: 1
Joined: 09. December 2006 01:51

Postby Izzy » 09. December 2006 04:14

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. :)
Posts: 3344
Joined: 25. April 2006 17:06

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 72 guests