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

local host refused to connect #88

Open
Vanshika07 opened this issue Mar 22, 2018 · 4 comments
Open

local host refused to connect #88

Vanshika07 opened this issue Mar 22, 2018 · 4 comments

Comments

@Vanshika07
Copy link

my file is working fine but when i open my browser while forum.py is running local host refuses to connect on the same port
firewall turned off

@dragonwar101
Copy link

me too ! i hate this cause i can't even fix it

@qaniel
Copy link

qaniel commented Apr 9, 2018

bump

@eduardosmatheus
Copy link

eduardosmatheus commented Apr 19, 2018

Having the same problem here. The forwarded ports seem to be configured properly and I can't access my applications outside the VM:

Here is what's inside my Vagrantfile:

config.vm.network "forwarded_port", guest: 8000, host: 8000, host_ip: "127.0.0.1"
  config.vm.network "forwarded_port", guest: 8080, host: 8080, host_ip: "127.0.0.1"
  config.vm.network "forwarded_port", guest: 5000, host: 5000, host_ip: "127.0.0.1"

@MustafaAlfaisal
Copy link

I tried everything from configuring vagrantfile to config.vm.network but nothing worked for me until I use logout command to logout as vagrant and then ssh to student hope this could solve your problem

so the workflow is
logout
ssh [email protected] -p 2222

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

5 participants