Hello again,
In order to complete this thread just in case this will be useful to 
someone finding same problem, i have tested with a different image boxes (
Ubuntu13.04 
<https://cloud-images.ubuntu.com/vagrant/raring/current/raring-server-cloudimg-amd64-vagrant-disk1.box>
/Centos6.5 <http://www.lyricalsoftware.com/downloads/centos65.box>) with 
port fordwarding success from the begining, so i think the problem is 
probably within this image box but i still unknown why.

*CentOS7.0 x86_64 minimal + Puppet + VirtualBoxGuestAddtions 4.3.14 
<https://dl.dropboxusercontent.com/s/w3lbekm7eunrskm/centos-7.0-x86_64.box>*

 
I gonna use another box where port fordwarding run well.

Regards

El jueves, 2 de octubre de 2014 10:06:25 UTC+2, Sven Nebel escribió:
>
> This is interesting, when i tried to port fordward usgin ssh directly 
> instead of port fordwarding of vagrant this succeed!
>
> On host machine
>
> $ ssh -v -l vagrant -L 65535:127.0.0.1:80 -N 127.0.0.1 -p 2222
>
> Then
>
> $ curl -v http://127.0.0.1:65535
>
> * About to connect() to 127.0.0.1 port 65535 (#0)
> *   Trying 127.0.0.1...
> * Connected to 127.0.0.1 (127.0.0.1) port 65535 (#0)
> > GET / HTTP/1.1
> > User-Agent: curl/7.29.0
> > Host: 127.0.0.1:65535
> > Accept: */*
> > 
> < HTTP/1.1 200 OK
> < Date: Thu, 02 Oct 2014 07:58:10 GMT
> < Server: Apache/2.4.6 (CentOS)
> < Last-Modified: Wed, 01 Oct 2014 15:06:01 GMT
> < ETag: "66-5045dd68964c2"
> < Accept-Ranges: bytes
> < Content-Length: 102
> < Vary: Accept-Encoding
> < Connection: close
> < Content-Type: text/html
> < 
> <!DOCTYPE html>
> <html>
> <body>
> <h1>My First Heading</h1>
> <p>My first paragraph.</p>
> </body>
> </html>
> * Closing connection 0
>
>
>
> El jueves, 2 de octubre de 2014 09:47:59 UTC+2, Sven Nebel escribió:
>>
>> Hola Alvaro,
>> First all thanks to try help ;-)
>>
>> When i ran curl on guest to check if apache is listening locally (at port 
>> 80 not 8080) it answer me with the dummy html page that i put.
>>
>> [vagrant@app1 ~]$ curl -v http://127.0.0.1:80
>> * About to connect() to 127.0.0.1 port 80 (#0)
>> *   Trying 127.0.0.1...
>> * Connected to 127.0.0.1 (127.0.0.1) port 80 (#0)
>> > GET / HTTP/1.1
>> > User-Agent: curl/7.29.0
>> > Host: 127.0.0.1
>> > Accept: */*
>> > 
>> < HTTP/1.1 200 OK
>> < Date: Thu, 02 Oct 2014 07:35:23 GMT
>> < Server: Apache/2.4.6 (CentOS)
>> < Last-Modified: Wed, 01 Oct 2014 15:06:01 GMT
>> < ETag: "66-5045dd68964c2"
>> < Accept-Ranges: bytes
>> < Content-Length: 102
>> < Vary: Accept-Encoding
>> < Connection: close
>> < Content-Type: text/html
>> < 
>> <!DOCTYPE html>
>> <html>
>> <body>
>> <h1>My First Heading</h1>
>> <p>My first paragraph.</p>
>> </body>
>> </html>
>> * Closing connection 0
>>
>>
>> I even tried to update listening adress from ipv6 to ipv4 with same 
>> result, i gonna try to make the port fordwarding directly with ssh and with 
>> another distro just to see what happend, any new ideas would be well 
>> recevived.
>>
>> Thanks everybody
>>
>>
>>
>>
>> El jueves, 2 de octubre de 2014 00:36:56 UTC+2, Alvaro Miranda Aguilera 
>> escribió:
>>>
>>>
>>> On Thu, Oct 2, 2014 at 5:14 AM, Sven Nebel <[email protected]> wrote:
>>>
>>>> curl -v http://127.0.0.1:8080
>>>
>>>
>>>
>>> what you get on guest when you run:
>>>
>>> curl -v http://127.0.0.1:80 <http://127.0.0.1:8080/>
>>>
>>>
>>>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to