You need to install the telnet-server rpm if it's not already installed. Try 'rpm -qa | grep telnet'. If its not there install that rpm first.
Once you've done that, edit the /etc/xinet.d/telnet file and change 'disable=yes' to 'disable=no'. Then restart the xinetd daemon by '/etc/rc.d/init.d/xinetd restart'. Your telnet server should now work. (i'm assuming there is no firewalling in place here...)
Oops, think I misread your question a bit. If the server is working on your linux box and it's a question of remote access then check /etc/hosts.allow and /etc/hosts.deny to see if there are any restrictions there. Otherwise, I would guess it's firewalled. Redhat 7.1 ships with a ipchains based firewall which could have been turned on during install.
To configure the RH firewall, from a console window, do a 'su -' and provide root password. Then do 'setup' and select 'firewall-configuration'. Or do 'gnome-lokkit' direct from Xterm. See
After i diable the firewall i can telnet it from windows box now.But one same problem appears! i can use mysql client side on the same linux box as the mysql server(version:3.23.36).When i use mysql client side on windows i cannot connect to the linux box.
The message is Host 'myhost-name' is not allowed to connect to this MySQL server.(BTW i test it using 3.23.28 and 3.23.38 for windows).
The /var/log/mysqld.log can give me nothing
Any help are greatly appreciated! zallen@cmmail.com
Long live of freedom!
The mysql problem is no doubt because mysql checks the user grant table for the column 'Host' associated with the 'User'. Most likely, you would have a value of 'localhost' in that column for the row containing the user you are connecting with.
To allow access from anywhere in a domain you would do something like :
INSERT INTO user (Host, User, password)
VALUES("%.yourdomain.com","Ausername",
PASSWORD("topsecret");
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.