Something is already running on port





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







-1















I am a fairly new developer and have come across a problem with ports. I am using mern stack and in my json file I have set the port to many different port numbers and it says something is running in all of them. I recently switched from google chrome to firefox and feel this could possibly be related. If I try to push yes on requesting a different port the page never loads. every time I run npm start the port is taken. Thank you










share|improve this question




















  • 2





    It would be great if you could show your configs. See Minimal, Complete, and Verifiable example

    – cricket_007
    Nov 2 '18 at 4:19











  • Sorry for the late reply, it started working once I set a specific port. what are configs? and I will definitley check that out

    – mikey
    Nov 4 '18 at 4:33











  • Your configurations. Specifically, all you said is that you "set a port"... where did you set it?

    – cricket_007
    Nov 4 '18 at 6:09


















-1















I am a fairly new developer and have come across a problem with ports. I am using mern stack and in my json file I have set the port to many different port numbers and it says something is running in all of them. I recently switched from google chrome to firefox and feel this could possibly be related. If I try to push yes on requesting a different port the page never loads. every time I run npm start the port is taken. Thank you










share|improve this question




















  • 2





    It would be great if you could show your configs. See Minimal, Complete, and Verifiable example

    – cricket_007
    Nov 2 '18 at 4:19











  • Sorry for the late reply, it started working once I set a specific port. what are configs? and I will definitley check that out

    – mikey
    Nov 4 '18 at 4:33











  • Your configurations. Specifically, all you said is that you "set a port"... where did you set it?

    – cricket_007
    Nov 4 '18 at 6:09














-1












-1








-1


1






I am a fairly new developer and have come across a problem with ports. I am using mern stack and in my json file I have set the port to many different port numbers and it says something is running in all of them. I recently switched from google chrome to firefox and feel this could possibly be related. If I try to push yes on requesting a different port the page never loads. every time I run npm start the port is taken. Thank you










share|improve this question
















I am a fairly new developer and have come across a problem with ports. I am using mern stack and in my json file I have set the port to many different port numbers and it says something is running in all of them. I recently switched from google chrome to firefox and feel this could possibly be related. If I try to push yes on requesting a different port the page never loads. every time I run npm start the port is taken. Thank you







node.js mongodb macos express npm






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 2 '18 at 4:17









cricket_007

84.4k1147119




84.4k1147119










asked Nov 2 '18 at 4:13









mikeymikey

1




1








  • 2





    It would be great if you could show your configs. See Minimal, Complete, and Verifiable example

    – cricket_007
    Nov 2 '18 at 4:19











  • Sorry for the late reply, it started working once I set a specific port. what are configs? and I will definitley check that out

    – mikey
    Nov 4 '18 at 4:33











  • Your configurations. Specifically, all you said is that you "set a port"... where did you set it?

    – cricket_007
    Nov 4 '18 at 6:09














  • 2





    It would be great if you could show your configs. See Minimal, Complete, and Verifiable example

    – cricket_007
    Nov 2 '18 at 4:19











  • Sorry for the late reply, it started working once I set a specific port. what are configs? and I will definitley check that out

    – mikey
    Nov 4 '18 at 4:33











  • Your configurations. Specifically, all you said is that you "set a port"... where did you set it?

    – cricket_007
    Nov 4 '18 at 6:09








2




2





It would be great if you could show your configs. See Minimal, Complete, and Verifiable example

– cricket_007
Nov 2 '18 at 4:19





It would be great if you could show your configs. See Minimal, Complete, and Verifiable example

– cricket_007
Nov 2 '18 at 4:19













Sorry for the late reply, it started working once I set a specific port. what are configs? and I will definitley check that out

– mikey
Nov 4 '18 at 4:33





Sorry for the late reply, it started working once I set a specific port. what are configs? and I will definitley check that out

– mikey
Nov 4 '18 at 4:33













Your configurations. Specifically, all you said is that you "set a port"... where did you set it?

– cricket_007
Nov 4 '18 at 6:09





Your configurations. Specifically, all you said is that you "set a port"... where did you set it?

– cricket_007
Nov 4 '18 at 6:09












2 Answers
2






active

oldest

votes


















0














An easy workaround whenever you get a "port in use" message while developing node type of projects such as MERN type of stacks, the solution is to run a different port. So if you were on localhost:3000, change it to localhost:3001.






share|improve this answer































    0














    Try stopping the running node process. Maybe a process using that port hasn't stopped.



    Use Task manager (Windows) / Activity monitor (MacOs)






    share|improve this answer
























      Your Answer






      StackExchange.ifUsing("editor", function () {
      StackExchange.using("externalEditor", function () {
      StackExchange.using("snippets", function () {
      StackExchange.snippets.init();
      });
      });
      }, "code-snippets");

      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "1"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53112599%2fsomething-is-already-running-on-port%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      An easy workaround whenever you get a "port in use" message while developing node type of projects such as MERN type of stacks, the solution is to run a different port. So if you were on localhost:3000, change it to localhost:3001.






      share|improve this answer




























        0














        An easy workaround whenever you get a "port in use" message while developing node type of projects such as MERN type of stacks, the solution is to run a different port. So if you were on localhost:3000, change it to localhost:3001.






        share|improve this answer


























          0












          0








          0







          An easy workaround whenever you get a "port in use" message while developing node type of projects such as MERN type of stacks, the solution is to run a different port. So if you were on localhost:3000, change it to localhost:3001.






          share|improve this answer













          An easy workaround whenever you get a "port in use" message while developing node type of projects such as MERN type of stacks, the solution is to run a different port. So if you were on localhost:3000, change it to localhost:3001.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 16 '18 at 12:02









          DanielDaniel

          1,85321639




          1,85321639

























              0














              Try stopping the running node process. Maybe a process using that port hasn't stopped.



              Use Task manager (Windows) / Activity monitor (MacOs)






              share|improve this answer




























                0














                Try stopping the running node process. Maybe a process using that port hasn't stopped.



                Use Task manager (Windows) / Activity monitor (MacOs)






                share|improve this answer


























                  0












                  0








                  0







                  Try stopping the running node process. Maybe a process using that port hasn't stopped.



                  Use Task manager (Windows) / Activity monitor (MacOs)






                  share|improve this answer













                  Try stopping the running node process. Maybe a process using that port hasn't stopped.



                  Use Task manager (Windows) / Activity monitor (MacOs)







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 16 '18 at 12:21









                  Rafaël MoserRafaël Moser

                  8118




                  8118






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Stack Overflow!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53112599%2fsomething-is-already-running-on-port%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Florida Star v. B. J. F.

                      Danny Elfman

                      Lugert, Oklahoma