You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When starting the server, it complains that http://0.0.0.0:8080 is already in use. As far as I can tell, this isn't true.
If I change the host to 127.0.0.1, the server starts correctly.
Here's how I'm calling live-server.
import liveServer from 'live-server';
const params = {
port: 8080, // Set the server port. Defaults to 8080.
host: '0.0.0.0', // Set the address to bind to. Defaults to 0.0.0.0 or process.env.IP.
root: './fixtures/site', // Set root directory that's being served. Defaults to cwd.
open: false, // When false, it won't load your browser by default.
logLevel: 0, // 0 = errors only, 1 = some, 2 = lots
};
liveServer.start(params);
Software details
Command line used for launching live-server: cmder (conemu)
OS: Windows 10 Enterprise
Browser (if browser related): N/A
Node.js version: v8.11.4
live-server version: 1.2.1
The text was updated successfully, but these errors were encountered:
Before submitting an issue, please, see https://github.com/tapio/live-server#troubleshooting
Issue description
When starting the server, it complains that http://0.0.0.0:8080 is already in use. As far as I can tell, this isn't true.
If I change the host to 127.0.0.1, the server starts correctly.
Here's how I'm calling live-server.
Software details
live-server
: cmder (conemu)live-server
version: 1.2.1The text was updated successfully, but these errors were encountered: