Open TCP Port 21 For Filezilla FTP Server on Windows Server 2008 R2

You have downloaded and installed Open Source Filezilla FTP Server on Windows Server 2008 R2.  You have configured it in the passive mode to connect only on TCP Port 21 by entering in the port range From 21 To 21, which is the standard FTP port.  You are behind the NAT on your Router so, when configuring Filezilla after installation, you have entered the static public IP address of your router on which port forwarding is configured to forward from port 21 on the public IP to port 21 on your server’s bind local IP.

You fire-up your FTP client and try connecting to the Filezilla server to no avail.  You already setup a user and password and default directory on the Filezilla server.  However, it might not be connecting because your Windows Firewall is likely blocking ftp reception on port 21 at the server.

Let’s use the Microsoft Management Control (MMC) Snap-in to open TCP port 21 inbound.

Click “START” button, and point to “Programs,” “Administrative Tools,” and select “Windows Firewall with Advanced Security.”

Image-2

In general, Windows firewall is enabled and, by default, inbound connection that do not match a firewall rule are blocked.  By default, all outbound connections that do not match a firewall rule or allowed (not blocked).  So, we may need to add and inbound rule.

Image-3

Right-click “Inbound Rules” and left-click “add New Rule,” or select “Inbound Rules” on the left and click “New Rule” under the actions section on the right.

Image-4

Rule TYPE:  Select “Port” and click Next.

Rule PROTOCOL: Select “TCP,” Select “Specific local ports” and enter “21” and click Next.

In the “ACTION” section, select “Allow the Connection” and click Next.

In the “PROFILE” section, make sure that all 3 check boxes are checked for Local, Domain, and Public.

In the ‘NAME” section, type something like “TCP port 21 for FTP service.”  In the DESCRIPTION  text box, you may add whatever explanation you wish, such as “Custom Inbound Firewall Rule to Allow FTP communication on standard TCP port 21 — MyRule.”

Click Finish.

Test your connection from FTP client to Filezilla server now.

 

Installed 4GB (2 X 2GB) PC2-5300 U Non-ECC RAM to Dell Dimension 3100 and 64-bit Win OS

2015-09-01-Remote-Desktop

 

The Dell specs for the Dell Dimension 3100 say that it takes a maximum of 2GB DDR2 RAM Memory, Unbuffered, Non-ECC.  However, you can install 4GB (that is 2 x 2GB DIMMS) and, with a 64-bit Windows Operating System installed, and your Computer Properties under Windows will show Installed Memory (RAM) 4.00 GB (2.99 GB usable).  4  GB (2 x 2GB DIMMs) PC2-5300, DDR2, 667Mhz, Unbuffered, Non-ECC RAM.

Solved – phpList Temporary Directory for Uploading Is Not Writable

This applies to Windows O/S running Apache webserver, MySql database, and PHP installed. (a WAMP server installation).

Within the admin area of PhpList, you might get the following error when you try to upload / import a CSV file containing email addresses and associated contact information:

Warning: The temporary directory for uploading () is not writable, so import will fail

I tried setting $tmpdir in the config.php file, but this did not work.

Usually your upload_tmp_dir is not set in the php.ini file (on a global basis) because it is disabled with a leading semi-colon at the beginning of the applicable line.  This allows for setting the upload_tmp_dir separately for each virtual host / domain hosted with Apache server.

On your web server, find your path to the httpd-vhosts.conf file (like here /configs/apache/ ) and open the httpd-vhosts.conf file with your favorite text editor, such as Notepad++ editor.

Find the virtual host configuration section for your particular
# DOMAIN within which PhpList is hosted.

Under the area for

# Custom Global Settings (if any exist)

Using php_admin_value, insert the full windows path within the applicable virtual host / domain directory leading to your tmp upload directory for email address import using PhpList:

php_admin_value upload_tmp_dir “c:/hosted/username/public_html/domain_com/lists/tmp”

Ensure that the upload /tmp/ path is within your open_basedir restriction path which might be set in either your php.ini or httpd-vhosts.conf file.  In the https-vhosts.conf file it would look like this:

php_admin_value open-basedir “c:/path_with_domain_root;c:/windows:c:/other_outside”