Wrox Programmer Forums
|
BOOK: Beginning Building Mobile Application Development in the Cloud
This is the forum to discuss the Wrox book Beginning Building Mobile Application Development in the Cloud by Richard Rodger ; ISBN: 978-1-1180-3469-9
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Building Mobile Application Development in the Cloud section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 30th, 2012, 10:18 PM
Authorized User
 
Join Date: Dec 2011
Posts: 23
Thanks: 3
Thanked 0 Times in 0 Posts
Default Chapter 1 page 27 NGINX

I am running Windows with McAfee virus protection. On attempting the nginx command I get

nginx: [emerg] bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)

I looked on the nginx website and around on Google some but I have no idea how to get this fixed without exposing my PC to every nasty little bug on the web by shutting down my virus protection, which I gather is the course of action that I need to take in order to open port 80 (which is puzzling, as it seems to me access should already be there for that port). Or is there another something somewhere else on my PC I need to kick, and playing with the virus protection is the wrong direction?
 
Old January 30th, 2012, 10:30 PM
Authorized User
 
Join Date: Dec 2011
Posts: 23
Thanks: 3
Thanked 0 Times in 0 Posts
Default Also

Also, I am logged on as an administrator, and I really hesitate to mess with the registry to fix it, which seems to be the direction this is headed if it is not a virus protection related fix.
 
Old August 19th, 2012, 05:07 PM
Registered User
 
Join Date: Aug 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

"...use another port. Here’s how you do that:
Open the file called “conf/nginx.conf” and edit the line that reads:
listen 80;
Change it to
listen 8080;"

From: http://www.montrealseocompany.com/20...hp-on-windows/

Note that you will need to append ":8080" after localhost or dot addresses. For example,
http://localhost:8080/view.html
http://192.168.2.5:8080/view.html





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 27 Ex 2 caa5042 BOOK: Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer 5 August 15th, 2011 08:56 AM
Chapter 27 Java Novice BOOK: Java Programming 24-Hour Trainer by Yakov Fain 0 May 15th, 2011 08:26 AM
Chapter 27: Modules And Handlers - Listing 27.2 Nikhil BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 0 February 4th, 2010 07:25 AM
CHAPTER 2 page 26 -27 joopthecat BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 3 August 3rd, 2009 07:03 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.