- Add a port forwarding entry to your Vagrantfile:
config.vm.network "forwarded_port", guest: 5432, host: 15432
. I'm using Vagrant 1.6.3 here. Start/restart your Vagrant image. -
Edit the pg_hba.conf file on the vagrant image. This file may reside in different areas; ours was in /etc/postgresql/9.1/main/. Change the IPv4 local connections entry from...
host all all 127.0.0.1/32 trust
tohost all all 0.0.0.0/0 trust
- Restart PostgreSQL on the vagrant image:
sudo service postgresql restart
- Configure your database tool to connect to localhost, port 15432.
Tuesday, September 02, 2014
Exposing PostgreSQL on vagrant to host OS
I've been working with vagrant lately on a Ruby project and I wanted to the ability to view the PostgreSQL database on the vagrant image through DbVisualizer on my OS X system. This is quite easy to set up in PostgreSQL and vagrant.
Labels:
development,
postgresql,
vagrant
Subscribe to:
Post Comments (Atom)
thanks for this informative post.. learned a lot
ReplyDeletemobile application development in indore
IEEE Final Year Project centers make amazing deep learning final year projects ideas for final year students Final Year Projects for CSE to training and develop their deep learning experience and talents.
DeleteIEEE Final Year projects Project Centers in India are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation.
corporate training in chennai corporate training in chennai
corporate training companies in india corporate training companies in india
corporate training companies in chennai corporate training companies in chennai
I have read your blog its very attractive and impressive. I like it your blog. Digital Marketing Company in Chennai Project Centers in Chennai
can you tell me some good tutorials ...
ReplyDeleteweb designing company in indore
What you can do. That's what I do not and have not ever thought of. friv 5
ReplyDeleteGreat and Useful Article.
ReplyDeleteJava Online Course
Java Online Training
Java EE training
Java Course in Chennai
Java Training in Chennai
Java Training Institutes in Chennai
Java Interview Questions
Java Interview Questions
Great and useful article. Creating content regularly is very tough. Your points are motivated me to move on.
ReplyDeleteSEO Company in Chennai
ReplyDeleteThis information is impressive; I am inspired with your post writing style & how continuously you describe this topic.
Payday loans in Alabama
Title loans in South Carolina
It is very helpful for me. Keep blogging like this.
ReplyDeleteHealthcare Analytics Company
Finance Analytics Company
Telecom Analytics Company
Retail Analytics Company
Analytics Company
US IT Staffing Agency
ReplyDeleteIts a wonderful post and very helpful, thanks for all this information. You are including better information regarding this topic in an effective way.Thank you so much
Installment Loans Near Me
Title loans Near Me
Cash Advances Near Me
This comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteIt is really a great and useful piece of info. I’m glad that you shared this helpful info with us. Please keep us informed like this. Thank you for sharing.
ReplyDeleteSeo Company in Chennai
Digital Marketing Company in Chennai
Its very informative and very useful post please continue updating technically like this for getting more new information from your side:
ReplyDeleteBest Architects in Chennai
Turnkey Interior Contractors in Chennai
Architecture Firms in Chennai
Warehouse Architect
Factory Architect Chennai
Office Interiors in Chennai
Rainwater Harvesting chennai
Furniture Moving Company*Insect Control Company*Insulation Company*Company inspection Villas*Water leak detection company*Company Cleaning Villas*home*Furniture Moving Company
ReplyDelete
ReplyDeleteNice blog..! I really loved reading through this article. Thanks for sharing such a
amazing post with us and keep blogging... iot training in chennai | iot training in chennai quora | iot training and placement in chennai | iot training center in chennai | best iot training centre in chennai
Thank you for sharing
ReplyDeletehttps://aab-edu.net/
Thanks for sharing this information. Today, Emblix as one of the best and top most service-oriented Digital Marketing Agency in Hyderabad and India , Which provides high-quality result-oriented Digital Services ranging from SEO to Web Design, Social Media Marketing and more, to a broad spectrum of clients from diverse industry segments. Through a well-oiled combination of Quality Solutions, Transparent Pricing, helping brands connect with customers, Flexible Delivery & Contract Model with a firm commitment to deliver on time and to budget, Emblix has successfully built a strong relationship with clients based on mutual trust and respect. Emblix solutions-digital marketing company
ReplyDeleteVery nice blog and information. Hope you will update it asap. Tech Arbiters (https://techarbiters.com/)
ReplyDeletethank you for sharing Informative blog
ReplyDeleteBest Astrologer In Bangalore
Enjoyed reading the article above , really explains everything in detail.
ReplyDeleteBest Astrologer in Bangalore
ReplyDeleteGood Blog, Such a Nice Content, Informative for Readers Keep Posting.
Best digital marketing company in Bangalore
Best Astrologer in Bangalore
Nice blog..! I really loved reading through this article... Thanks for sharing such an amazing post with us and keep blogging...
ReplyDeleteBest Astrologer in Bangalore
Best Astrologer in Bangalore
Thanks to share. All our, aspires to be successful. However, they are not always in the same way. If You are in side of astrology? Believe, It occurs as a result of planets that are feeble. Took a sort to get best birth chart horoscope predictions with Pandit sai Jagannatha Famous Astrologer in Bangalore
ReplyDeleteExcellent post Keep up the good work
ReplyDeletePlease look here at
Vashikaran Astrologer in BTM Layout
Informative post!
ReplyDeletePlease look here at
Vashikaran Astrologer in Basavanagudi
Thanks for providing this information. It's very helpful.
ReplyDeleteVisit Best Astrologer in Nizamabad
Good astrologycal post,thank you for sharing with community.
ReplyDeleteFor sofa repair work contact thesofastore gives
Sofa Refurbishing in Bellandur,Bangalore
Nice Post. Very useful info specifically the last part . I care for such information . Thank you and good luck.
ReplyDeleteLiver Syrup
Nitzyme Syrup
Uterine Syrup
Blood Purifire syrup
Blood Purifier
Stone Syrup
Gas Syrup
Pain Syrup
Brain Tonic Syrup
Healthonit Syrup
MT Pro (Protein) powder
Thanks for the greatfull post.
ReplyDeleteVisit Vashikaran Astrologer in Hebbal.
This comment has been removed by the author.
ReplyDeleteGet the best update of the Scope of Hadoop Technology and job opportunities for it from the best software training institute in Chennai, Infycle Technologies. Call +91-7504633633, +91-7502633633 to get the amazing offers and free demo for having Big Data hadoop training in Chennai.
ReplyDeleteThis is extremely enlightening blog.
ReplyDeleteVisit Best Indian Astrologer in Delta.