Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wintersmith preview not working #55

Closed
Mmarzex opened this issue Sep 23, 2012 · 2 comments
Closed

wintersmith preview not working #55

Mmarzex opened this issue Sep 23, 2012 · 2 comments

Comments

@Mmarzex
Copy link

Mmarzex commented Sep 23, 2012

Everytime I try to use the wintersmith preview command I keep getting this error

wintersmith preview
starting preview server
path.exists is now called fs.exists.
using config file: /Users/maxmarze/sandbox/node.js/wintersmith/beta/config.json
server running on: http://localhost:8080/

events.js:66
    throw arguments[1]; // Unhandled 'error' event
                   ^
Error: listen EADDRINUSE
at errnoException (net.js:769:11)
at Server._listen2 (net.js:909:14)
at listen (net.js:936:10)
at Server.listen (net.js:985:5)
at run (/usr/local/lib/node_modules/wintersmith/lib/server.js:123:14)
at Object.async.forEach     (/usr/local/lib/node_modules/wintersmith/node_modules/async/lib/async.js:82:20)
at loadPlugins (/usr/local/lib/node_modules/wintersmith/lib/index.js:38:16)
at async.apply (/usr/local/lib/node_modules/wintersmith/node_modules/async/lib/async.js:532:23)
at async.iterator.fn   (/usr/local/lib/node_modules/wintersmith/node_modules/async/lib/async.js:517:34)
at async.waterfall.wrapIterator   (/usr/local/lib/node_modules/wintersmith/node_modules/async/lib/async.js:441:34)
@jnordberg
Copy link
Owner

Looks like you are already running something on port 8080. Try wintersmith preview --port 4747

@browncolyn
Copy link

I'm using Wintersmith for the first time. As a developer I make use of a lot of different ports for a variety of projects. I used the ---port flag to start the server with a new port other than the default. This works fine, however, when I save a file and wintersmith attempts to restart the server, I get an EADDRINUSE use error again. It honored my custom port option for initializing the server but not for restarts, it seems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants