Did you check the Container port redirection section from mac installation 
guide (https://docs.docker.com/installation/mac/)?

If you run a container with an exposed port,

$ docker run --rm -i -t -p 80:80 nginx

then you should be able to access that Nginx server using the IP address 
reported by:

$ boot2docker ip

Typically, it is 192.168.59.103:2375, but VirtualBox's DHCP implementation 
might change this address in the future.

marți, 9 decembrie 2014, 04:29:53 UTC+2, Massimo Di Pierro a scris:
>
> Could be a firewall. I am using a mac.
>
> On Sunday, 7 December 2014 10:02:22 UTC-6, rif wrote:
>>
>>   I tested that before I wrote. Are you sure it's not some firewall or 
>> something? What OS did you use?
>>
>> duminică, 7 decembrie 2014, 17:59:43 UTC+2, Massimo Di Pierro a scris:
>>>
>>> Done that but no response. :-(
>>>
>>> On Saturday, 6 December 2014 11:37:04 UTC-6, rif wrote:
>>>>
>>>> As far as I can tell the only thing you have to do is to run the 
>>>> container like this:
>>>>
>>>> docker run -p 8080:80 web2py
>>>>
>>>> and you will be able to connect at http://localhost:8080
>>>>
>>>> Of course you can change the 8080 to any other port.
>>>>
>>>> -rif
>>>>
>>>> vineri, 5 decembrie 2014, 05:11:22 UTC+2, Massimo Di Pierro a scris:
>>>>>
>>>>> Has anybody here used docker with web2py? I have built a container 
>>>>> (docker + web2py + nginx + uwsgi + supervisor) and everything seems to be 
>>>>> fine (no errors) except that I cannot connect. I attached the docker 
>>>>> folder 
>>>>> in case you can help debug.
>>>>>
>>>>> Massimo
>>>>>
>>>>>
>>>>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to