Can't figure out how to start postgres on port 5432 in windows

Is "history" a male-biased word ("his+story")?

Examples of a statistic that is not independent of sample's distribution?

Space in array system equations

What are some noteworthy "mic-drop" moments in math?

Is there any way to damage Intellect Devourer(s) when already within a creature's skull?

Virginia employer terminated employee and wants signing bonus returned

Reverse string, can I make it faster?

Fourth person (in Slavey language)

What does a stand alone "T" index value do?

How do you like my writing?

PTIJ: How can I halachically kill a vampire?

Do f-stop and exposure time perfectly cancel?

The bar has been raised

Do Bugbears' arms literally get longer when it's their turn?

How much attack damage does the AC boost from a shield prevent on average?

Is there an equal sign with wider gap?

Accountant/ lawyer will not return my call

How do I locate a classical quotation?

Why does Deadpool say "You're welcome, Canada," after shooting Ryan Reynolds in the end credits?

Things to avoid when using voltage regulators?

Look through the portal of every day

Are the terms "stab" and "staccato" synonyms?

Algorithm to convert a fixed-length string to the smallest possible collision-free representation?

Why the color red for the Republican Party



Can't figure out how to start postgres on port 5432 in windows














0















Setting up Postgres on Windows for frontend web dev



This is not my area of expertise (frontend guy), but I need postgres simply running on my side to connect with the test DB for the project I'm working on:



I have to run this before I start my project: dropdb [db_name] && createdb [db_name] && npm run migration:run:dev



When I do so, I get the typical:



dropdb: could not connect to database template1: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?


This tells me that postgres isn't running on port 5432, which I verified in Resource Monitor and inside pgAdmin... in pgAdmin, all the PIDs are NOT 5432 and when I try to change the port to 5432 (although, already set to that), I get:



could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? 


I have postgres installed via the packaged installer, and I've tried various solutions, such as:
https://tableplus.io/blog/2018/10/how-to-start-stop-restart-postgresql-server.html
https://stackoverflow.com/questions/38466190/cant-connect-to-postgresql-on-port-5432 (I don't need remote connections)



Note(s)



I use homebrew to do this on my mac in like 2 commands... but services doesn't work with linuxbrew. I don't think my network is an issue if my mac has no problem with it on the same network.



I'm thinking something could be running on port 5432, but nothing appears to be in Resource Monitor.









share







New contributor




Chris Johnson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    Setting up Postgres on Windows for frontend web dev



    This is not my area of expertise (frontend guy), but I need postgres simply running on my side to connect with the test DB for the project I'm working on:



    I have to run this before I start my project: dropdb [db_name] && createdb [db_name] && npm run migration:run:dev



    When I do so, I get the typical:



    dropdb: could not connect to database template1: could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?


    This tells me that postgres isn't running on port 5432, which I verified in Resource Monitor and inside pgAdmin... in pgAdmin, all the PIDs are NOT 5432 and when I try to change the port to 5432 (although, already set to that), I get:



    could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? 


    I have postgres installed via the packaged installer, and I've tried various solutions, such as:
    https://tableplus.io/blog/2018/10/how-to-start-stop-restart-postgresql-server.html
    https://stackoverflow.com/questions/38466190/cant-connect-to-postgresql-on-port-5432 (I don't need remote connections)



    Note(s)



    I use homebrew to do this on my mac in like 2 commands... but services doesn't work with linuxbrew. I don't think my network is an issue if my mac has no problem with it on the same network.



    I'm thinking something could be running on port 5432, but nothing appears to be in Resource Monitor.









    share







    New contributor




    Chris Johnson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      Setting up Postgres on Windows for frontend web dev



      This is not my area of expertise (frontend guy), but I need postgres simply running on my side to connect with the test DB for the project I'm working on:



      I have to run this before I start my project: dropdb [db_name] && createdb [db_name] && npm run migration:run:dev



      When I do so, I get the typical:



      dropdb: could not connect to database template1: could not connect to server: No such file or directory
      Is the server running locally and accepting
      connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?


      This tells me that postgres isn't running on port 5432, which I verified in Resource Monitor and inside pgAdmin... in pgAdmin, all the PIDs are NOT 5432 and when I try to change the port to 5432 (although, already set to that), I get:



      could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? 


      I have postgres installed via the packaged installer, and I've tried various solutions, such as:
      https://tableplus.io/blog/2018/10/how-to-start-stop-restart-postgresql-server.html
      https://stackoverflow.com/questions/38466190/cant-connect-to-postgresql-on-port-5432 (I don't need remote connections)



      Note(s)



      I use homebrew to do this on my mac in like 2 commands... but services doesn't work with linuxbrew. I don't think my network is an issue if my mac has no problem with it on the same network.



      I'm thinking something could be running on port 5432, but nothing appears to be in Resource Monitor.









      share







      New contributor




      Chris Johnson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      Setting up Postgres on Windows for frontend web dev



      This is not my area of expertise (frontend guy), but I need postgres simply running on my side to connect with the test DB for the project I'm working on:



      I have to run this before I start my project: dropdb [db_name] && createdb [db_name] && npm run migration:run:dev



      When I do so, I get the typical:



      dropdb: could not connect to database template1: could not connect to server: No such file or directory
      Is the server running locally and accepting
      connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?


      This tells me that postgres isn't running on port 5432, which I verified in Resource Monitor and inside pgAdmin... in pgAdmin, all the PIDs are NOT 5432 and when I try to change the port to 5432 (although, already set to that), I get:



      could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? 


      I have postgres installed via the packaged installer, and I've tried various solutions, such as:
      https://tableplus.io/blog/2018/10/how-to-start-stop-restart-postgresql-server.html
      https://stackoverflow.com/questions/38466190/cant-connect-to-postgresql-on-port-5432 (I don't need remote connections)



      Note(s)



      I use homebrew to do this on my mac in like 2 commands... but services doesn't work with linuxbrew. I don't think my network is an issue if my mac has no problem with it on the same network.



      I'm thinking something could be running on port 5432, but nothing appears to be in Resource Monitor.







      postgresql windows





      share







      New contributor




      Chris Johnson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      Chris Johnson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      Chris Johnson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 38 secs ago









      Chris JohnsonChris Johnson

      11




      11




      New contributor




      Chris Johnson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Chris Johnson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Chris Johnson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "182"
          };
          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: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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
          });


          }
          });






          Chris Johnson is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f231966%2fcant-figure-out-how-to-start-postgres-on-port-5432-in-windows%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Chris Johnson is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Chris Johnson is a new contributor. Be nice, and check out our Code of Conduct.













          Chris Johnson is a new contributor. Be nice, and check out our Code of Conduct.












          Chris Johnson is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Database Administrators Stack Exchange!


          • 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%2fdba.stackexchange.com%2fquestions%2f231966%2fcant-figure-out-how-to-start-postgres-on-port-5432-in-windows%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

          Parapolítica Índice Antecedentes El escándalo Proceso judicial Consecuencias Véase...

          How to remove border from elements in the last row?Targeting flex items on the last rowHow to vertically wrap...

          Tecnologías entrañables Índice Antecedentes Desarrollo Tecnologías Entrañables en la...