mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
Vagrant: Make host_ip a variable set in ~/.zulip-vagrant-config.
This commit is contained in:
committed by
Tim Abbott
parent
c9a1d4a074
commit
8e1724e81e
@@ -105,3 +105,16 @@ HOST_PORT 9971
|
||||
|
||||
(and halt and restart the Vagrant guest), then you would visit
|
||||
http://localhost:9971/ to connect to your development server.
|
||||
|
||||
|
||||
If you'd like to be able to connect to your development environment from other
|
||||
machines than the VM host, you can manually set the host IP address in the
|
||||
'~/.zulip-vagrant-config' file as well. For example, if you set:
|
||||
|
||||
```
|
||||
HOST_IP_ADDR 0.0.0.0
|
||||
```
|
||||
|
||||
(and restart the Vagrant guest), your host IP would be 0.0.0.0, a special value
|
||||
for the IP address that means any IP address can connect to your development server.
|
||||
|
||||
|
||||
@@ -864,6 +864,18 @@ HOST_PORT 9971
|
||||
(and halt and restart the Vagrant guest), then you would visit
|
||||
http://localhost:9971/ to connect to your development server.
|
||||
|
||||
If you'd like to be able to connect to your development environment from other
|
||||
machines than the VM host, you can manually set the host IP address in the
|
||||
'~/.zulip-vagrant-config' file as well. For example, if you set:
|
||||
|
||||
```
|
||||
HOST_IP_ADDR 0.0.0.0
|
||||
```
|
||||
|
||||
(and restart the Vagrant guest), your host IP would be 0.0.0.0, a special value
|
||||
for the IP address that means any IP address can connect to your development server.
|
||||
|
||||
|
||||
[cygwin-dl]: http://cygwin.com/
|
||||
[vagrant-dl]: https://www.vagrantup.com/downloads.html
|
||||
[vagrant-dl-win]: https://releases.hashicorp.com/vagrant/1.8.6/vagrant_1.8.6.msi
|
||||
|
||||
Reference in New Issue
Block a user