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

Can't connect to scotch-box on a public wifi network #27

Closed
iamgoodbytes opened this issue Jan 3, 2015 · 5 comments
Closed

Can't connect to scotch-box on a public wifi network #27

iamgoodbytes opened this issue Jan 3, 2015 · 5 comments

Comments

@iamgoodbytes
Copy link

First of all, I'm a big fan of scotch box, it works fantastic when developing at home. However, when I'm on a public wifi network, I'm unable to SSH into scotchbox, probably because it can't assign an IP address?

It hangs at "default: Warning: Connection timeout. Retrying..."

When I'm at home I don't have this problem, I tried the following with no luck:
config.vm.network "public_network"

vagrant ssh gives me the following error:
ssh_exchange_identification: Connection closed by remote host

Any ideas if this can be solved?

Thanks for all the great work!

@whatnickcodes
Copy link
Member

Some networks disable certain ports and things (SSH, IRC, etc...). If it's just happening on that network, it's probably a network issue versus a Scotch Box issue. I successfully have ran Scotch Box on tons of public networks.

@whatnickcodes
Copy link
Member

Can you reopen this though if the problem persists on other networks or you have more information?

@iamgoodbytes
Copy link
Author

Hi @ncerminara I'm at home now (where this box was working just fine the past week). I'm having the exact same issue so it wasn't the network after all. I'm confused why SSH is throwing a timeout now and not in the past few days.

What additional information can I provide?

Also, isn't scotchbox/vagrant a local thing when just booting up (except for checking for updates maybe). Isn't vagrant ssh a local connection instead that should work on any wifi network?

Thanks again for trying to help out!

Btw: the box itself seems to be loaded as I can surf to my box, but SSH isn't working anymore while it used to work fine

screen shot 2015-01-03 at 22 01 50

@iamgoodbytes
Copy link
Author

Solved by running vagrant destroy and vagrant up. I have no idea what went wrong, sorry about that!

@nerijunior
Copy link

I've the same error! The alternative is destroy and rerun.

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

3 participants