antonybudianto / angular-starter

:star: Gulp Angular Starter using TypeScript (Updated to 4.4.3)

Home Page:https://antonybudianto.github.io/angular-starter/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EADDRINUSE 3001

kennyhyun opened this issue · comments

Issue Overview

gulp serve-build fails with Error: listen EADDRINUSE :::3001.

Issue Description

ports looks conflict with browserSync.

Reproducables

always. 4045662 chore(package.json): update karma stable (#110)

Information

Operating System Windows 10
Node version 4.4.5
NPM Version 2.15.5
Environment Chrome

I've tried but failed to reproduce. Maybe the port is still used by another program? Can you try to restart the OS and try again?
Thanks

After rebooting, It went well! Thank you;)

but when I tried editing the port 3001 in config/gulp/config.js into 13000, I could run it.
I could see the browserSync page from localhost:3001.
After rebooting, changing port to 13000 and opening http://localhost:3001 still shows browserSync.
Is it normal?

I've checked the browsersync docs,
ui port default value is 3001.
but it moves to 3002 when the local port is 3001, without any ui port option.

[BS] Access URLs:
 --------------------------------------
       Local: http://localhost:3001
    External: http://192.168.1.111:3001
 --------------------------------------
          UI: http://localhost:3002
 UI External: http://192.168.1.111:3002
 --------------------------------------

It's weird but it was temporary. no problem.

Have a good weekend, mate!

Thank you, mate.

Looks like I need to choose another non-default ports then