Skip to Main Content

Programming Languages & Frameworks

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Application Container Gulp + BrowserSync Error $PORT

ilhan_ercanMay 4 2017 — edited Oct 20 2017

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?

Comments
Post Details
Added on May 4 2017
3 comments
705 views