Not able to access Image Magickly from my ubuntu server which is on Amazon instance

13 views
Skip to first unread message

Indies Services

unread,
Jan 10, 2014, 8:49:12 AM1/10/14
to rubyonra...@googlegroups.com
Hi,

I tried to install Image Magically on ubuntu which is on Amazon
instance.

I followed the following reference link for that.

https://github.com/afeld/magickly

There I followed the following steps to install Image Magically on
server.

$ gem install magickly

After that I installed the “thin” gem using under given command.
$ gem install thin

Then I tried to start “thin” gem with following command.
$ thin start

When I start “thin” using command “thin start”, it gets started in
terminal and shows message

“Using rack adapter
Thin web server (v1.6.1 codename Death Proof)
Maximum connections set to 1024
Listening on 0.0.0.0:3000, CTRL+C to stop”

So according to message, I tried to access app at http://0.0.0.0:3000,
but can’t access it.

What changes should I do if I want to access this app on Amazon Instance
Domain? Because currently I have installed this app on Amazon Instance.

Please help me.

Thanks.

--
Posted via http://www.ruby-forum.com/.

Frederick Cheung

unread,
Jan 10, 2014, 1:03:55 PM1/10/14
to rubyonra...@googlegroups.com
On Friday, January 10, 2014 1:49:12 PM UTC, Ruby-Forum.com User wrote:

“Using rack adapter
Thin web server (v1.6.1 codename Death Proof)
Maximum connections set to 1024
Listening on 0.0.0.0:3000, CTRL+C to stop”

So according to message, I tried to access app at http://0.0.0.0:3000,
but can’t access it.

0.0.0.0 is not a real ip address: it is is shorthand for 'any ip address on any network interface that this machine  might have' (for example your amazon instance probably has an internal and an external ipaddress).

In addition if you are testing this on a machine other than the instance in question you will need to configure its security group to allow traffic on port 3000.

Fred
Reply all
Reply to author
Forward
0 new messages