Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for hosts other than localhost #14

Open
jgallen23 opened this issue Aug 7, 2013 · 2 comments
Open

Support for hosts other than localhost #14

jgallen23 opened this issue Aug 7, 2013 · 2 comments
Milestone

Comments

@jgallen23
Copy link

I like to run grunt inside a vagrant instance and I usually add a host file entry to the box, so I'd hit something like dev.awesomeproject.com. It would be awesome if the extension used the current tab's host rather than default to localhost.

@vladikoff
Copy link
Owner

Interesting... Let me see I can add an option for this in the future versions.

@ghost
Copy link

ghost commented Jan 29, 2015

Default vagrant goes to locahost, unless you change it. The main problem is the port

config.vm.network "forwarded_port", guest: 61750, host: 61750 adding that (if nothing else is using that port) will allow you to use it with vagrant.

You can add

config.vm.network "forwarded_port", guest: 61751, host: 61751

to support multiple projects as well, I am sure vagrant can also do port ranges, but just never had a reason to use it yet.

Also affects #19 if using vagrant anyway (regular vm's can work with a similar setup)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants