Search This Blog

Wednesday, 19 August 2015

How to Check the Ports in System

If your operating system is Win7 which is equipped with a build-in port detection function, you could use it to detect the processes occupying the ports (such as Port 25).
1) On the opened "Windows Task Manager", click the "Performance" tab, then click the "Resource Monitor" button (Figure 1-1).
Windows Task Manager
Figure 1‑1
2) In the pop up "Resource Monitor" dialogue box, click the "Network" tab, then click the "Listening Ports" tab. After detecting, it is DBMail that occupied the Port 25 and its PID is 3840 (Figure 1-2).
Resource Monitor-Network
Figure 1‑2
3) In the "Task Manager" dialogue box, click the "Progress" tab, according to the PID 3840 find the "dbmailserver" process. Right-click "dbmailserver", then click "End Process" to close the process which has occupied the Port 25 (Figure 1-3).
End Process
Figure 1‑3
Notes:
If PID does not display in the "Task Manager", you can refer to the below steps:
1) On the "View" menu, click "Select Columns" (Figure 1-4).
View-Select Columns
Figure 1‑4
2) In the pop up "Select Process Page Columns" dialogue box, select the "PID (Process Identifier)" check box, then click the "OK" button (Figure 1-5).
Select PID
Figure 1‑5



Remove Unexpectedly Installed CCProxy

As a proxy server software, CCProxy sometimes may be used by some hacker, this article introduces you how to remove CC Proxy server software which is installed unexpectedly. Youngzsoft never installed ccproxy to a computer without user permission. Some hackers cracked CCProxy program and installed it to the PC they hacked. so that's why you can find it on your PC. We suggest you checking your system and install the latest packages of Windows. Here is a way to remove CCProxy.
Please go to system task manager, and find out which program has about 16 threads and the file size is between 760K and 1.2M. Search this program file name in your system and delete it.

Shutdown Programs Occupying CCProxy Ports

Sometimes SOCKS/HTTP/FTP/Mail or others would fail to boot through proxy. That is because other programs occupied those proxy ports, resulting in port conflicts.

The First Situation

1) CCProxy would show which program occupied that port. As shown in (Figure 1-1), it is dbmailserver that occupied the Port 25 and its PID is 2900.
 HTTP Start up Failed
Figure 1‑1
2) Open Windows Task Manager, click the "Process" tab.
3) With the guidance of PID 2900, navigate to dbmailserver program; right-click it, select "End Process"(Figure 1-2).
 Windows Task Manager
Figure 1‑2
4) In this way, programs which occupied the server's port can be shut down.

The Second Situation

Assume the port being occupied is 25.
If CCProxy doesn't show the program which has occupied the port, Active Ports can be used for detecting the port.
1) Download and install Active Ports.
2) Run Active ports.
3) The main interface of Active Ports is as shown in (Figure 1-3).
Active Ports 
Figure 1‑3
Process:Name of the running programs
PID:Process Identifier of the running programs
Local IP:The local IP address used by that program
Local Port:The local port used by that program
4) On the main interface of Active Ports, with the guidance of PID 2900, we find out that it is dbmailserver which occupied the Port 25(Figure 1-4).
Dbmailserver Occupied The Port 
Figure 1‑4
5) Open Windows Task Manager, click the "Process" tab. With the guidance of PID 2900, navigate to dbmailserver program; right-click it, select "End Process"(Figure 1-5).
 End Process
Figure 1‑5
6) In this way, programs which occupied the server's port can be shut down.

If your operating system is Windows 7, you can also use the build-in port detection. You may refer to this link.




CCProxy Work With Firewall

If there are firewall software installed on server, or the MS firewall enabled on server, you need to setup firewall and allow CCProxy access the network.
Please create an exclusion rule for CCProxy in the firewall. 

CCProxy Start Problem

Port Conflicts

If you get error message likes (Figure 1) when you start CCProxy, it means there is a port conflict problem. Two applications using the same socket port will cause a port conflict.
First of all, make sure that the installed CCProxy is the latest version. If there is some other programs are using the same ports as CCProxy, CCProxy will report proxy service startup failed. CCProxy will report which program is using the same port. You can open the program settings and change the port in using or even stop it, and restart CCProxy when done.
Mail proxy startup failed
It's normally related with the following software on the server -
  •     Microsoft IIS SMTP server
  •     Other mail server software
If CCProxy reports likes (Figure 1), you can follow the steps at below to solve it.
Mail Proxy Startup Failed
(Figure 1)
  1. Go to Windows "Control Panel", "Administrative Tools" and open "Internet Information Services".
  2. Select "Properties" on the right menu of "Default SMTP Virtual Server" (Figure 2).
Iis Smtp Menu
(Figure 2)
       3. Click "Advanced" button on the properties dialog box (Figure 3).
Iis Smtp Properties
(Figure 3)
       4. Select the first item and click "Edit" on the advanced dialog box (Figure 4).
Iis Smtp Properties Advanced
(Figure 4)
       5. Change "TCP port" to 26, and click "OK" button (Figure 5).
Iis Smtp Properties Port
(Figure 5)
      6. Click "OK" button on the advanced dialog box and properties dialog box.
      7. Restart CCProxy.
SOCKS proxy startup failed
It's normally related with the following software on the server -
  •  Other proxy server software
News proxy startup failed
It's normally related with the following software on the server -
  • Microsoft NEWS server
Telnet proxy startup failed
It's normally related with the following software on the server -
  • Microsoft Telnet server
Port map proxy startup failed
You need check port map settings of CCProxy if there are same local ports or the local ports are conflict with other software on the server.
For more details, please refer to this link.




Why CCProxy Startup Failed 
First of all, download the latest version and upgrade: "Latest Version". 
If there are some other programs are using the same ports as CCProxy ("Default Ports"), CCProxy will report proxy service startup failed. CCProxy will also report which program is using the same port and stop this program with your confirmation. 


For more details, please refer to "CCProxy Start Problem". 

Backup Upgrade and Transfer

1. Backup CCProxy

Advantage of backing up CCProxy: When CCProxy goes wrong, data could be restored.

1) The settings of CCProxy itself is saved in "CCProxy.ini".
2) Accounts information, filter rules and time schedule are all saved in "AccInfo.ini". You just need to back-up these two files.
3) If you modified files in Web directory, then this directory also needs backing-up.
4) If you want to save the old logs, back-up log directory as well.

2. Upgrade CCProxy

Before upgrade, it is recommended that you should back-up files first.

1) In setting up directory, double-click "unins000" to uninstall CCProxy older version (after uninstalling CCProxy, none configuration files would be delete) (Figure 1-1).
Double-click Unins0000
Figure1‑1
2) Set up the new version. Please note that the new version should be saved into the old setting up directory. Only in this way, the old configurations and account information can be imported to the new version.

3. Transfer CCProxy

Before upgrading, it is recommended that you should back-up files first.

1) Uninstall CCProxy.
2) Copy CCProxy directory and paste it to the new server.
3) On the new server, install CCProxy in the CCProxy directory.

CCProxy Upgrading Steps

Before upgrading, it is recommended that you should back-up files first. Configurations of servers are all saved in "CCProxy.ini", while accounts information, filter rules and time schedule are all saved in "AccInfo.ini". You just need to back-up these two files.

If you modified files in Web directory, then this directory also needs backing-up. If you want to save the old logs, back-up log directory as well.

Upgrading steps are as follows:

1) Backing-up the files you need.
2) In setting up directory, double-click "unins000" to uninstall CCProxy older version (after uninstalling CCProxy, none configuration files would be delete) (Figure 1-1).
Uninstall CCProxy
Figure 1‑1
3) Set up the new version. Please note that the new version should be saved into the old setting up directory. Only in this way, the old configurations and account information can be imported to the new version.

Configuration of Dual-NICs

There are many kinds of network topology environment of surfing the Internet via proxy. Here introduces how to configure dual-NICs:

1. Configuration of NICs

1) There are two network cards on the proxy server, and the one connected to the Internet is called External NIC. The external NIC could be configured accordingly, as long as the server could access the Internet normally.

2) The one that connects the Switch and the terminal is called Internal NIC.

While configuring the internal NIC, please note that the IPs of the internal NIC and the external NIC should not be in the same IP range. Besides, gateway and DNS could be left unconfigured.

2. Configuration of Clients

In the "Local Area Connections" dialogue box, please configure as follows:

1) IP address (the IP address of clients should be in the same IP range with the IP address of the internal NIC of the server).

2) Subnet mask (255.255.255.0).

3) Default gateway.

4) DNS address (DNS is the IP address of the internal NIC of the server).

CCProxy Server Screen Shot

CCProxy Main Interface (Figure 1-1)
CCProxy Main Interface
Figure 1-1
CCProxy Settings Interface (Figure 1-2)
CCProxy Settings Interface
 Figure 1-2

Installation of CCProxy

Step 1 - LAN networks configuration
Normally, the clients and server are connected with A Hub, Wireless Hub, Switch or Router. The network protocol between the server and clients is TCP/IP. Therefore both the server and the clients have an IP address. The server IP address is static and fixed. The clients IP address can be fixed or dynamic which is obtained through DHCP. CCProxy only requires that the clients can ping through the server IP address. We know that the server may have multiple IP addresses, but must have one that is used to connect with other LAN clients. The IP address that is used to connect with the other LAN client is called the proxy server address. We generally assumed this to be 192.168.0.1.
If the clients and server have not yet been setup to have a connection, we recommend allocate IP addresses like this at below:
IP addressmaskgatewayDNS
Server192.168.0.1255.255.255.0emptyempty
Client1192.168.0.2255.255.255.0192.168.0.1192.168.0.1
Client2192.168.0.3255.255.255.0192.168.0.1192.168.0.1
...............
Client99192.168.0.100255.255.255.0192.168.0.1192.168.0.1
How to detect whether ping Requests are transferring through between the clients and server? At the client, in the "start" menu -> "run" -> "cmd", assuming that the server IP is 192.168.0.1, in the command line, to type "ping 192.168.0.1" then press return. If the result is similar to that at below, it means the client is connected to the server successfully.
Pinging 192.168.0.1 with 32 bytes of data:
Reply from 192.168.0.1: bytes=32 time=2ms TTL=150
Reply from 192.168.0.1: bytes=32 time=2ms TTL=150
Reply from 192.168.0.1: bytes=32 time=7ms TTL=150
Reply from 192.168.0.1: bytes=32 time=7ms TTL=150
Ping statistics for 192.168.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 2ms, Maximum = 7ms, Average = 4ms
If the result is like that at below, it means the client cannot connect to the server.
Pinging 192.168.0.1 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.0.1:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
If the client cannot connect to the server, you need to check the IP address settings and the connections to the Hub, Switch or Router on the clients and server.

Step 2 - Internet connection configuration
We know that there are many ways of connecting to the Internet, which are for example, ADSL, optical fiber, satellite, broadband etc. CCProxy is not concerned about the manner in which the Internet connection is established, as long as the server is successful connected to the Internet.
The simplest way to check the server can access the Internet is to input a web site address into the browser and see if the machine is able to access the web pages.
Users frequently mentioned single and dual NIC. In fact, the CCProxy is not concerned with hardware equipment. Both single and multi-NIC cards are supported and there are no special settings.
Special mention is that if the clients have been able to share the Internet, such as through the router, and hope to use the CCProxy to manage and control the clients' Internet access. You might need to do some changes on your hardware.
For example:
Network
(Figure 1)
In this case, the clients can access the Internet directly with the Routers bypass proxy server. That's to say, CCProxy cannot control the clients. We need to isolate the client from Internet and force clients to access the Internet via the proxy server.
We have two methods to realize this.
Method 1:
Add one NIC card on the server and change the LAN networks as:
Network
(Figure 2)
Method 2:
Configure the NAT or route settings in the router and block all LAN IP address accessing the Internet directly except the server IP address. Only some advanced routers have this function. Please do this with the router's administrator.

Step 3 - Install CCProxy on the Server
  • Suppose the server IP address in the LAN is 192.168.0.1, and then 192.168.0.1 is the proxy server address.
  • You can download CCProxy here. Run ccproxysetup.exe and follow the on-screen instructions to install CCProxy.
  • Run CCProxy on the server (Figure 3).
CCProxy Main Interface
(Figure 3)
If you want to know more about server configurations, please read "Server Configuration".
If you get problem in launch CCProxy, please refer to "CCProxy Start Problem".

Step 4 - Add client's IP into CCProxy
  • Choose one computer in the LAN that needs to access the Internet. Suppose the IP address of the computer is 192.168.0.2.
  • Open CCProxy main window, click "Account" button, then popup "Account Manager" dialog box.
  • Select "Permit Only" in "Permit Category" and select "IP Address" in "Auth Type" (Figure 4).
Account Manager
(Figure 4)
  • Click "New" button, fill "192.168.0.2" in the "IP Address/IP Range", click "Save" and "OK" button (Figure 5).
Account
(Figure 5)
If you want to know more about account management, please read "Account Manager".
Step 5 - Configure IE at client
  • Go to client computer and open IE window.
  • Open "Tools" menu, select "Internet Options" and open the "Internet Options" dialog box.
  • Select "Connections" tab, click "LAN Settings" button and open the "Local Area Network (LAN) Settings" dialog box (Figure 6).
Internet Options
(Figure 6)
  • Check "Use a proxy server for your LAN", Fill "192.168.0.1" in "Address" and "808" in "Port" (Figure 7).
Local Area Network (LAN) Settings
(Figure 7)
  • Click "OK" button in "Local Area Network (LAN) Settings" and "Internet Options" dialog boxes.
  • Now you can browser Internet web sites in IE at the client.
If you want to know more about client configurations, please read "Client Configuration".
If you get problem in using CCProxy, please read "User Manual" and "FAQs".

CCProxy Quick Start

Step 1 - Install CCProxy on the Server
  • The server is the computer that can access the Internet directly.
  • Make sure that all clients within LAN are able to access the Server.
  • Suppose the server IP in the LAN is 192.168.0.1, and then 192.168.0.1 is the proxy server address.
  • You can download CCProxy here. Run ccproxysetup.exe and follow the on-screen instructions to install CCProxy.
  • Run CCProxy on the server (Figure 1).
CCProxy Main Interface
(Figure 1)
If you get problem in launch CCProxy, please refer to "CCProxy Start Problem".

Step 2 - Add client's IP into CCProxy
  • Choose one computer in the LAN that needs to access the Internet. Suppose the IP address of the computer is 192.168.0.2.
  • Open CCProxy main window, click "Account" button, then popup "Account Manager" dialog box.
  • Select "Permit Only" in "Permit Category" and select "IP Address" in "Auth Type" (Figure 2).
Account Manager
(Figure 2)
  • Click "New" button, fill "192.168.0.2" in the "IP Address/IP Range", click "Save" and "OK" button (Figure 3).
Account
(Figure 3)
For more details information about add users, please refer to how to add accounts and how to add groups.
Step 3 - Configure IE at client
  • Go to client computer and open IE window.
  • Open "Tools" menu, select "Internet Options" and open the "Internet Options" dialog box.
  • Select "Connections" tab, click "LAN Settings" button (Figure 4).
Internet Options
(Figure 4)
  •  In the pop up "Local Area Network(LAN) Settings" dialog box, select the "Use a proxy server for your LAN" check box, type "192.168.0.1" into the "Address" edit box, and type "808" into the "Port" edit box (Figure 5).
Local Area Network(LAN) Settings
(Figure 5)
  • Click "OK" button in "Local Area Network (LAN) Settings" and "Internet Options" dialog boxes.
  • Now you can browser Internet web sites in IE at the client.
For more details information abou proxy settings for brower, please refer to how to configure web proxy settings in IE and how to make proxy settings in Firefox.

Make Proxy Server Settings for IE, Firefox, Chrome, MSN, Yahoo, Skype, CuteFTP

A proxy server acts as a security barrier between your internal network and the Internet, preventing others on the Internet from being able to obtain access to information that is located on your PC or other computers in the LAN. Besides security considerations, people use a proxy server also for some other purpose such as to implementInternet connection sharing, to apply Internet access control for LAN users who want to connect to Internet, toaccess blocked websites like Orkut, Myspace, Youtube, Facebook and so on.
To apply the above features of a proxy server, you need to make proxy server settings on the client computers first of all. Suppose the proxy server address is "192.168.1.100", bellow are how to make proxy server settings for various network applications step by step.
Proxy server settings for IE
Click "Tools" -> "Internet Options" -> "Connections" -> "LAN Settings" -> select "Use a proxy server for your LAN" -> "Advanced", configure as bellow.
Figure 1
Proxy server settings for Firefox
Click "Tools" -> "Options" -> "Advanced" -> "Network" -> "Connections" -> "Settings" -> "Manual proxy configuration", configure as bellow.
Figure 2
Proxy server settings for Chrome
"Options" -> "Under the Hood" -> "Network" -> click the "Change proxy settings" button, you will get the "Internet Options" dialog box of IE. The proxy server settings of Chrome is based on IE proxy server settings, so please just consult Figure 1.
Figure 3
Proxy server settings for MSN Messenger
Menu "Tool" -> "Options" -> In "Connection" tab, check "I use proxy server", choose SOCKS 5 in type, fill local proxy servers IP address in "Server". Port is 1080.
If you are using Live Messenger 2011, "Options" -> "Connection" ->"Advanced Settings", you can set SOCKS proxy here and also can use the IE proxy settings.
Figure 4
Proxy server settings for Skype
"Tools" -> "Connection options" -> "Connection", you can select "HTTPS" and "SOCKS5" proxy for Skype.
Figure 5
Proxy server settings for CuteFTP Pro
Take CuteFTP Pro 8.3 for example, the proxy settings should be "Tools" -> "Global Options" -> "Connection", you can use "SOCKS" proxy, "FTP" proxy, "HTTP" proxy and also IE proxy settings here.
Figure 6
Proxy server settings for Yahoo Messenger
If you are using Yahoo Messenger V11.0 or above, you can use both "HTTP Proxy" and "SOCKS Proxy". If you choose "HTTP Proxy", Yahoo Messenger will use the proxy settings you made in IE. If you choose "SOCKS Proxy", you need to specify the proxy server parameters here.
Figure 7
Besides the above instructions on proxy server settings, we have also prepared more instructions for you, please just refer to the proxy server settings section.