CopyPastor

Detecting plagiarism made easy.

Score: 0.9471226293687786; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2022-06-19
by yanir midler

Original Post

Original - Posted on 2015-11-26
by Ralexrdz



            
Present in both answers; Present only in the new answer; Present only in the old answer;

Probably is a port definition problem. Heroku will assign a port on which the application will run, regardless of you define it. You should replace that hardcoded port for something like this.
var port = process.env.PORT || 5000;
Hopefully, that fix the problem
Probably is a port definition problem. Heroku will assign a port on which the application will run, regardless of you defining it. You should replace that hardcoded port for something like this.
var port = process.env.PORT || 5000;
Hopefully that fix the problem

        
Present in both answers; Present only in the new answer; Present only in the old answer;