Angry ISP says I need to fix script. Help!
-
I received a letter today from my ISP saying that Word Press is attempting to do something called “port binding” and says I need to edit or debug the script. I have no idea how to do this; I am not a programmer. Can anyone help direct me through this? I don’t even know where to start. The text of the email follows :
————————————-
It has come to our attention that you have a script/application in your
webspace that is attempting to bind a port to the local servers IP address.To bind a port in such a fashion, this would require you to have a Dedicated
Server. Currently you are signed up for one of our Shared hosting packages
which do not allow port binding.The script that you are using is located at the path specified below:
u35596838 has /kunden/usr/bin/perl listening on *:9098:
The script was executed with the following command:
Commandline: pure-ftpd (IDLE)
There are steps that you can take to correct this in most cases. We recommend
that you take a close look at your script to determine if you are trying to
make an FTP connection. When attempting to make an Active (PORT) connection,
this requires the local server to listen on a port. Changing the script to make
a Passive (PASV) connection will cause the remote server to listen on a
specified port, thus eliminating the scripts attempt to bind to a local port.Example of a short PHP script that uses passive ftp:
<?php $file = ‘somefile.txt’;
$remote_file = ‘readme.txt’;// set up basic connection
$conn_id = ftp_connect($ftp_server);// login with username and password
$login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);// turn passive mode on
ftp_pasv($conn_id, true);// upload a file
if (ftp_put($conn_id, $remote_file, $file, FTP_ASCII)) {
echo “successfully uploaded $file\n”;
} else {
echo “There was a problem while uploading $file\n”;
}// close the connection
ftp_close($conn_id);
?>You can see in the script the connection type is specified with the line:
ftp_pasv($conn_id, true);
This is the most important line in the script which turns passive mode on which
will prevent the script from binding a local port.If you did not write the script/application, we recommend that you contact the
developer for further help in resolving this issue. Reminder, we do not provide
any type of script debugging and will not analyze your script to determine what
is causing the attempt to bind a port.———————————-
(The rest was just warnings to me to change it or have my webspace locked out.)I don’t want to take WordPress off as it has taken me this long to get it running.
They are telling me to contact my developer (that would be WordPress) for help.
So, help, please!Karen
- The topic ‘Angry ISP says I need to fix script. Help!’ is closed to new replies.