Forum Stats

  • 3,741,750 Users
  • 2,248,473 Discussions
  • 7,861,976 Comments

Discussions

Application Container Gulp + BrowserSync Error $PORT

ilhan_ercan
ilhan_ercan Member Posts: 3 Red Ribbon
edited Oct 20, 2017 11:19AM in Node.js

I have a nodejs project which includes bower, gulp, browser-sync etc. When i deploy my project to application nodejs container it throws that error:

Application failed bind to specified port[env variable $PORT]. Application logs ...

Start:

npm install

bower install

gulp serve:dist

In my configuration file i tried:

browserSync.instance = browserSync.init({   port : 80 //also tried 3000 and nothing it always throw that error.});

Can you help me how can i solve it?

Answers

Sign In or Register to comment.