Page 1 of 1

How to run IIS and WingFTP simultaneously with port 80

Posted: Sat Dec 18, 2010 2:12 pm
by FTP
If you want to run WingFTP and IIS on the same machine, there are a few solutions available, using different ports, proxying method or same port with different IP address. This article is supposed to help you to run IIS and WingFTP on the same machine and with the same HTTP port 80, while you are using different IP addresses.

The test environment for this article is:
--Windows 2003 Server
--IIS6 installed
--Windows support tools installed.
--One LAN adapter with two IP addresses (you can also install two LAN adapters, each with a different IP address)

Make IIS listen on a definite IP only.
1. Start > Run> cmd.exe (open the command prompt)

2. Type in the command prompt C:\Documents and Settings\Administrator>httpcfg set iplisten -i XXX.XX.XXX.X
Note :- XXX.XX.XXX.X is the IP address on which you want IIS to listen.
2.1. If the message " 'httpcfg' is not recognized as an internal or external command, operable program or batch file." appears, it means Windows support tools are not installed.
2.2. If the message "HttpSetServiceConfiguration completed with 0." appears, it works.

3. Now let’s confirm this change by running “C:\Documents and Settings\Administrator>httpcfg query iplisten” you will receive IP : XXX.XX.XXX.X

4. Now you need to restart http service by performing command.
4. 1. C:\Documents and Settings\Administrator>net stop http /y
Note: - I received the following messages:-
The following services are dependent on the HTTP service.
Stopping the HTTP service will also stop these services.
World Wide Web Publishing Service
HTTP SSL
The World Wide Web Publishing Service service is stopping..
The World Wide Web Publishing Service service was stopped successfully.
The HTTP SSL service is stopping.
The HTTP SSL service was stopped successfully.
The HTTP service was stopped successfully.
4. 2. C:\Documents and Settings\Administrator> net start w3svc
Note: - I received the following messages:-
The World Wide Web Publishing Service service is starting.
The World Wide Web Publishing Service service was started successfully.

Specify an IP address to WingFTP HTTP port.
Please go to "Domains -> Settings -> Listeners", and specify an IP address to HTTP.

Done!!

Re: How to run IIS and WingFTP simultaneously with port 80

Posted: Tue May 22, 2012 9:15 am
by FTP
For Windows 2008:
Because HttpCfg.exe is not available on Windows Server 2008. So for step 2 and 3, you need to use Netsh.exe.
step 2)
2-1)Type in the command prompt C:\Documents and Settings\Administrator>netsh
2-2)netsh>http
2-3)netsh http>add iplisten xxx.xx.xxx.x
step 3)
netsh http>show iplisten