# Accessing openmrs in vagrant through host machine IP issue

**URL:** <https://talk.openmrs.org/t/accessing-openmrs-in-vagrant-through-host-machine-ip-issue/9613>\
**Category:** Bahmni\
**Created:** [January 17, 2017, 4:29pm UTC](https://talk.openmrs.org/t/accessing-openmrs-in-vagrant-through-host-machine-ip-issue/9613 "2017-01-17T16:29:37Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![abiieez](https://talk.openmrs.org/letter_avatar/abiieez/32/6_449c533f586939b6e5f246632a46421f.png) [@abiieez](https://talk.openmrs.org/u/abiieez)\
**Post date:** [January 18, 2017, 7:47am UTC](https://talk.openmrs.org/t/accessing-openmrs-in-vagrant-through-host-machine-ip-issue/9613/6 "2017-01-18T07:47:45Z")

</div>

I found myself a solution after searching online. Instead of using port forwarding I added this line instead in the vagrantfile

config.vm.network :public\_network, ip: “192.168.0.117”

This way the other machines in the network will need to access through that IP address.

---

_[View the full topic](https://talk.openmrs.org/t/accessing-openmrs-in-vagrant-through-host-machine-ip-issue/9613)._
