Get 4 Free Web Scripts

Join the White Hat Crew mailing list and get four free scripts for your website!
  1. Captcher: PHP powered captcha generator
  2. AffiliCloak: affiliate link cloaker
  3. List Mailer GT: viral list building service mailer
  4. External Pop: display in-page "popups" over external webpages
Just enter your first name and email address below to download your free scripts today.

PHP Telnet 1.1

A freeware script enabling PHP scripts to make telnet connections

Download | Requirements | Security | Usage Examples

Connection Failed - Unable to Open Network Connection

PHP Telnet was unable to establish a telnet connection to the desired host server.

Possible Causes and Remedies
  • You have misspelled the name of the server to which you are attempting to connect: Verify the spelling.
  • The server your are attempting to connect to is offline: Verify that the server is online.
  • The server your are attempting to connect to does not have a telnet service running: If the server your are attempting to make a telnet connection to does not have telnet server software running on it, you won't be able to make a connection. Try opening a telnet connection to the desired server using some other telnet tool. If that fails, contact the server administrator to verify whether the lack of telnet service is intentional or not or to request telnet access.
  • Your hosting provider (for the server from which you are attempting to make a telnet connection) has disabled the PHP function "fsockopen": PHP Telnet uses the function "fsockopen" to open telnet connections. Some website hosting providers disable this function for security purposes. If your hosting provider has disabled this function, you will not be able to use PHP Telnet on your server. Contact your hosting provider to ask whether fsockopen has been disabled (ask the following question at the same time).
  • Your hosting provider has a firewall blocking outgoing telnet connections from your server: Some hosting providers use firewalls to prevent inappropriate outbound connections from their webservers, which unfortunately also blocks appropriate outbound connections. Contact your hosting provider to ask whether they have blocked outbound TCP/IP connections on port 23 from your server.