osx - How to access Redis running in Vagrant Virtual Machine -
we trying use vagrant run redis server on mac (using ubuntu guest os) vagrantfile
sadly unable access redis database inside vagrant box.
we error:
error: redis connection 127.0.0.1:6379 failed - read econnreset
this network configuration in virtualbox vm:
what else need add vagrantfile expose redis mac?
(note: reason using vagrant both let people try redis without having install on main os, more importantly ensure other elements of app run expected)
this may helpful https://serverfault.com/questions/248248/cannot-connect-to-redis-installed-on-virtualbox-running-ubuntu-from-windows-7. know question connecting windows, solution modifications redis config within vm in order not bind redis local port in redis.conf can accessed on host machine(mac in case).
also, depending on how trying access redis may able configure ssh tunnel on host machine(mac) in order gain access redis server within vagrant vm. ended going route case connect redis inside of vagrant vm local development of ember js app using ember-cli , ember-cli deploy ember-cli-deploy-redis
Comments
Post a Comment