Configuring A Web Server On The Same Machine As WinProxy
The settings shown below allow your web server to answer on the standard HTTP port of 80.
2. Browser Settings:
Other Computers on the Internet
For a user somewhere on the Internet to reach your web server, they must connect to the WinProxy computer's external IP address. (This is true whether your web server is on the WinProxy computer itself, or on another computer behind the firewall.)
External Network Card on WinProxy Computer
To be practical, you should have a static IP address for you Internet connection. The reason for this is to give external users, i.e. people out on the Internet, the ability to connect to your server with ease. If your external IP address was a dynamic IP address, and not a static IP address, external users would have to find out what IP address was assigned to your external network card each time they wanted to connect to your web server.
Internal Network Card on WinProxy Computer
1. Internal IP Address: 90.0.0.1
WinProxy Computer / Web Server Settings
WinProxy Settings:
If you are going to run a web server on the same computer as that of WinProxy you will need to map a new application filter within WinProxy to allow connections to that web server.
In WinProxy,
- Click File -> Settings.
- Change the 'HTTP Proxy Port' to another port other than port 80, such as 81, then click OK. Changing the HTTP port within WinProxy and not your web server is suggested because it is easier to change within WinProxy versus your web server.
- Click File -> Advanced Settings -> Firewall -> New Application.
- 'Application Name' can be assigned any name you want.
- Click on New Filter to enable the filter settings.
- For 'Port Range', enter in 80 for both 'From' and 'to'. This will allow the web server to receive incoming connections on port 80.
- For 'Type', select TCP.
- For 'Direction', select Incoming, then click Done -> OK.

Web Server Settings:
1. Internal Server Port: 80
Basically, WinProxy will be listening for browser connections on port 81, while your web server will be listening for browser connections on port 80.
Client Computer
1. IP Address: 90.0.0.2 2. Browser Settings:
There are two ways in which you can configure your client computer:
Method 1
- HTTP: 90.0.0.1, Port 81
- Security: 90.0.0.1, Port 81
- FTP: 90.0.0.1, Port 81
- Socks: 90.0.0.1, Port 81
- A browser with these settings can still access the local web server with the URL "http://90.0.0.1:80"
Method 2
- Gateway address (in network Card): 90.0.0.1
- Do not enable any proxy settings within the browser, i.e. select 'Direct connection' or 'Connection through a local area network'.
- A browser with these settings can still access the local web server with the URL "http://90.0.0.1:80".


