curl -vvv http://127.0.0.1:9090
* Rebuilt URL to: http://127.0.0.1:9090/
*   Trying 127.0.0.1...
* Connected to 127.0.0.1 (127.0.0.1) port 9090 (#0)
> GET / HTTP/1.1
> Host: 127.0.0.1:9090
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 502 Bad Gateway
< Server: nginx/1.10.3 (Ubuntu)
< Date: Wed, 07 Aug 2019 13:39:54 GMT
< Content-Type: text/html; charset=utf-8
< Content-Length: 182
< Connection: keep-alive
<
<html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.10.3 (Ubuntu)</center>
</body>
</html>
* Connection #0 to host 127.0.0.1 left intact

On Wed, Aug 7, 2019 at 4:51 AM Dennis Chang <[email protected]> wrote:

> Try again with
>
> curl -vvv http://127.0.0.1:9090
>
> Obviously the response to http://kala.example.com failed to resolve the
> hostname.
> Remember that I suggested adding an entry to your host file, well that
> recommendation
> should have resolve that issue.
>
> Let me know how curl to http://127.0.0.1:9090 works out.
>
>
> On Wednesday, 7 August 2019 00:12:59 UTC+8, Wangui njoka wrote:
>>
>> this returns
>>
>> curl -vvv http://kala.example.com
>> * Rebuilt URL to: http://kala.example.com/
>> * Could not resolve host: kala.example.com
>> * Closing connection 0
>> curl: (6) Could not resolve host: kala.example.com
>>
>> On Tue, Aug 6, 2019 at 6:42 PM Dennis Chang <[email protected]> wrote:
>>
>>> Instead of a browser can you use curl instead? (I'm presuming you are
>>> trying to access the VM, i.e. from the host).
>>>
>>> So instead of the browser, run the command:
>>>
>>> curl -vvvv http://kala.example.com
>>>
>>> and provide the output please.
>>>
>>> --
>>> This mailing list is governed under the HashiCorp Community Guidelines -
>>> https://www.hashicorp.com/community-guidelines.html. Behavior in
>>> violation of those guidelines may result in your removal from this mailing
>>> list.
>>>
>>> GitHub Issues: https://github.com/mitchellh/vagrant/issues
>>> IRC: #vagrant on Freenode
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Vagrant" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/vagrant-up/42dd1886-42bb-496a-be59-514726c9721a%40googlegroups.com
>>> <https://groups.google.com/d/msgid/vagrant-up/42dd1886-42bb-496a-be59-514726c9721a%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/7c8b533f-f41d-498a-8909-0676445e6285%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/7c8b533f-f41d-498a-8909-0676445e6285%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAGBEwtw34G%2BdxftJfDxVx-S%2BBJY5GhRTkd0JfHHVc2bKEy%2BUoA%40mail.gmail.com.

Reply via email to