Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.2k views
in Technique[技术] by (71.8m points)

apache - how do I change IIS express 8 port 80 to 8080

I used to use vs2010 and webmatrix. However,I'm trying to use apache lately. So my IIS express is using port 80 and apache is using port 8080. I intend to have it the other way around. Let apache use port80 and IIS use 8080. I couldn't let apache listen to port 80 until IIS no longer listen to port 80. How should I config IIS express's port?

ps.I'm using win7 with one ip adress

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Try this

To configure the default IIS website to use port 8080

On the Windows desktop, click Start, click Administrative Tools, and then click Internet Information Services (IIS) Manager.

In Internet Information Services (IIS) Manager, in the Connections pane, expand the computer name, expand Sites, and then click Default Web Site.

In the Actions pane, under Edit Site, click Bindings.

In the Site Bindings dialog box, click the http entry, and then click Edit.

In the Edit Site Binding dialog box, in Port, type 8080, and then click OK.

In the Site Bindings dialog box, click Close.

In the Actions pane, under Manage Web Site, click Stop, and then click Start.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...