Welcome! Log In Create A New Profile

Advanced

VHost Guidance

April 20, 2015 01:34PM
Hi folks.

Brand new to nginx. I'm trying to run 3 vhosts on my workstation to get familiar with nginx.

alpha
bravo
charlie

I'm using bravo in the main nginx.conf pointing to /var/www/alpha/

bravo and charlie are in settings/vhosts.conf into /var/www/bravo and /var/www/charlie

Upon trying to start nginx (installed via homebrew on OSX), I get the following:

HQ:~ rich$ sudo nginx
nginx: [emerg] bind() to 0.0.0.0:8080 failed (48: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:8080 failed (48: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:8080 failed (48: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:8080 failed (48: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:8080 failed (48: Address already in use)
nginx: [emerg] still could not bind()

Not too sure what that means. I'm sure it's a directive that's not entered for localhost.

Anyway, any leadership appreciated as to how to get this thing going.

Cheers
Subject Author Posted

VHost Guidance

daBee April 20, 2015 01:34PM

Re: VHost Guidance

Styopa Semenukha April 20, 2015 01:52PM

Re: VHost Guidance

daBee April 20, 2015 01:54PM

Re: VHost Guidance

Jason Woods April 20, 2015 02:02PM

Re: VHost Guidance

daBee April 20, 2015 02:08PM

Re: VHost Guidance

shiroweb April 20, 2015 02:12PM

Re: VHost Guidance

daBee April 21, 2015 12:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 319
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready