. After studying for about four hours, I finally solved this problem. Now I have published my solution, hoping that more people will be able to cope with applications in other special environments.
Let's talk about the server configuration environment before I configure it. APMServ5.2.6 integrates the PHP environment:
Apache 2.2.9 [HTTP server]Nginx 0.7.19 [HTTP server]NetBox 2.8 Build 4128 [
, and all need to use 80 ports, but only one IP, to make what Apache proxy, that is, Apache proxy, and this method is not the same, please distinguish.
The following is an example of two environments where two IP is set separately, Known conditions: 218.87.96.160 bound www.jb51.net domain name, is a PHP site, need Apache environment, 218.87.96.161 bound www.yuanm
This article is grateful to the Chinese to provide, only published, copyright belongs to the original author of all
1, the server IP assumption is 111.111.111.111, the operating system for Windows 2003 server
2, IIS has a asp.net site, domain name is www.a.com, and has been bound, the initial port is 80
3, now need to create a PHP site, you need to use the Web server for Apache. Domain name is www.b.com
Que
iloves.vicp.net
proxypass/http://localhost:81/
proxypassreverse/http://localhost:81/
In this way, you can use both Apache and IIS functionality with only one port externally.
method Four:Online Common single IP common 80-port method, but not recommended, jus
219.153.70.252. support/tools/support. Cab under Cd 2003. Decompress the httpcfg.exe file and copy it to the Windows/system32/directory. For more information, see command line bind it to an IP address: httpcfg set iplisten-I 219.153.70.133 that is, the command uses IIS to only listen to the specified IP address and port View binding: httpcfg query iplisten Delete binding: httpcfg Delete iplisten-I 219.153.70.20. net stop apache2 net stop IISAD
Note: Do not plan to use root user directly to run Node.js service! This will lead to an unpredictable security issue!However, using port 80 as the HTTP default port is a habit that has lasted since the age of Ms. People on the Internet talk about using Nginx as a reverse proxy
IIS and Apache share port 80. The. net program of IIS is bound to port 81, and the host name is www. a. comapache's php program is bound to port 80. the host name is www. B .com. then, if the apache server has been installed successfully, open httpd. co
The. net program in
IP address: httpcfg set iplisten-I 192.168.0.1That is, the command uses IIS to only listen to the specified IP address and portView binding: httpcfg query iplistenDelete binding: httpcfg Delete iplisten-I 192.168.0.1
Command LineNet stop apache2Net stop IISADMIN/yNet start apache2Net start w3svc
Make sure that the IP address in IIS is set to the global default. If the listen 192.168.0.2: 80 parameter is set to httpconf in Apache, the two services
Demand: 1. The mode of direct operation of the cool is self-host running. Since the win system is generally provided by IIS with multiple Web services, and first occupies 80 ports, this mode of operation can occur if you want to cool the swelling directly through the host header and IIS shared with Port 80. Here's how to do this, step through: 1. Download the IIS
uses IIS to listen only for the specified IP and portViewing bindings: Httpcfg query IplistenDelete binding: httpcfg Delete iplisten-i 192.168.0.1
Command linenet stop Apache2net stop iisadmin/yNET START Apache2NET START w3svc
To ensure that the IP settings under IIS are global defaults, Apache httpconf set Listen 192.168.0.2:80, you should be able to run both services at the same time, not conflicting.The access address for IIS is
Curl verification proxy... 145.14.60.165: 80 when verification fails, why is the connection reset?
The connection to the server is reset when the page is loaded.
This problem occurs when the proxy is verified. why ...??
Reply to discussion (solution)
Your address requires HTTP authentication.
Well, how can this
Non-root users cannot start Tomcat listening to port 80I. Problems
After a website is bound to a domain name, port 80 is directly used for access through the domain name. Therefore, tomcat must listen to port 80. For security reasons, tomcat generally runs without the root i
Tags: no response required install CAL etc Occupy Inux terminal deployPreamble: When you are learning tomcat, when you deploy a virtual service host, you experience an unresponsive situation. Originally thought to be tomcat default port 8080 in the Adjust to (port forwarding settings) default port 80 and Mac comes with
cannot listen to any of the ports (HTTP) or 443 (htt ps
From outside, though, the application server must is accessible on ports 80/443
The most popular approach:
Create an ordinary user specificaly for the application server (EX:TOMCAT)
Configure it to listen to a port bigger than 1024-actually Tomcat comes by default configured to 8080 in
: This article mainly introduces how to solve the problem that Port 80 of the Win10 System is occupied by the System and Apache cannot be started. if you are interested in the PHP Tutorial, refer to it. In Windows 10, after XAMPP is installed, Apache cannot be started, port 80 is always prompted to be occupied, and no
; Loadmodule proxy_http_module modules/mod_proxy_http.so
After enabling the proxy module, we start to configure the virtual host.
First include httpd-vhosts.conf files
# Include CONF/extra/httpd-vhosts.conf
--> Include CONF/extra/httpd-vhosts.conf
Save httpd. conf and open the httpd-vhosts.conf File
Start configuring virtual machine
Namevirtualhost *: 80
Serveradmin B @ B .comServername Ww
proxy_http_module modules/mod_proxy_http.so
After enabling the proxy module, we start to configure the virtual host.
First include httpd-vhosts.conf files
# Include CONF/extra/httpd-vhosts.conf
--> Include CONF/extra/httpd-vhosts.conf
Save httpd. conf and open the httpd-vhosts.conf File
Start configuring virtual machine
Namevirtualhost *: 80
Serveradmin B @ B .comServername www. B .comDocumentRoot "C:/pro
80 Change to Listen (the port you want to use) such as Listen 8080However, when you visit the Web service under your Apache, add the port number after the domain namesuch as: http://localhost:8080Then use CMD to enter the command line mode into the directory where you installed Apache/apache2/binInputApache-k InstallA
disappearsSince Windows 95, the Start menu has become an iconic design of the Windows system, gradually accepted and used by users, it can quickly open other applications and interfaces in the form of non-full-screen, without changing the current interface, enabling a very convenient and fast operation experience. When Windows 8 decides to change it to modern ui/traditional desktop's jump function, Windows 8 is doomed to fail.Most users have to get used to this new design, but it is a nightmare
as 80 to 81, and change the port of the site to 81.
Steps:
1, change the IIS 80 port to unused port, arbitrary value, not used on the sex, in this change to 81 ports.
2, restart IIS. Now that IIS is ready to start, you can already browse the files in IIS.
3, correspondi
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.