title: PgAdmin on Windows 10 with Postgres when installed via Bash on Ubuntu on Windows
body: <p>I would like to install Rails 5/Postgres within <strong>Bash On Ubuntu On Windows</strong>
  and also be able to access Postgres database via <strong><a href="https://www.pgadmin.org/download/pgadmin-4-windows/" rel="noreferrer">PgAdmin for Windows</a></strong>.</p>
  
  <p>Am quiet happy to install all my rails dependencies through Bash on Ubuntu on Windows, but I am aware that I can't run any standard GUI tools from Bash and was wondering if it is possible to install Rails and PostGres on the Linux Subsystem and then query my databases using the Windows version of PgAdmin</p>
  
  <p>I had a look at this tutorial <a href="https://mirrorcommunications.com/blog/how-to-install-ruby-on-rails-on-windows-10-with-postgresql" rel="noreferrer">how-to-install-ruby-on-rails-on-windows-10-with-postgresql</a> but it seems that he installs Postgres into windows rather then the Linux Subsystem.</p>
  
  <p>I was wondering if this is the only way to go about getting all these tools working nicely together.</p>
  
  <p>Basically I want my <strong>Windows</strong> installed PgAdmin to communicate to my <strong>Bash On Ubuntu On Windows</strong>  Postgres DB</p>