Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
483 views
in Technique[技术] by (71.8m points)

nginx - Trouble accessing host on Homestead/Vagrant box via the browser

I have a Laravel Homestead (Vagrant) box, using Oracle VM VirtualBox, under Windows 10. This is a Ubuntu box with an Nginx webserver.

On it, I have two hosts set up, which I have been using without issues for months.

Suddenly, without anything having changed that I am aware of, I am unable to access either host via the browser.

I can still ping each domain via command prompt and it replies with the correct IP (192.168.10.10). I can also visit http://192.168.10.10 in the browser and it serves up the first of the two that is defined in my Homestead.yaml, all works correctly.

I can start and stop the vagrant box without issue, reload/reprovision, ssh in etc.

But when I try and go to either domain, I get unable to connect, ERR_CONNECTION_REFUSED etc.

question from:https://stackoverflow.com/questions/65682240/trouble-accessing-host-on-homestead-vagrant-box-via-the-browser

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...