Note that since this is an amazon EC2 instance you will have to have allowed access to the instance on the 8080 port. Since you said that it worked earlier on the same instance I'm just throwing this out there as a low possibility.

On Wed, Jun 6, 2012 at 12:22 PM, Jeff Byrd <jeffreydbyrd@gmail.com> wrote:
Hi Hans thanks for your reply,
I do have Hunchentoot installed using quicklisp. And sorry for the ambiguity, I meant that I enter the server's address in my browser's address bar (in this case it would be ec2-184-72-143-0.compute-1.amazonaws.com:8080), it then hangs for a while, and eventually shows an error page saying "Opps, Google Chrome could not connect..."

Some additional info:
On my local host, after entering the hunchentoot:start command,  the prompt hangs until I hit CNTL-C. But on the remote host, it brings me back to the REPL. I'm still able to enter commands while sbcl runs (which I've read is characteristic of threading). I think I'll do a bit more homework and try to print request logs (if any) to a file.

Thanks,
Jeff



On Wed, Jun 6, 2012 at 1:56 PM, Hans Hübner <hans.huebner@gmail.com> wrote:
Hi Jeff,

I don't quite know what exactly the problem is.  Did you install Hunchentoot with quicklisp (http://www.quicklisp.org/)?  If not, please do so.  Also, what do you mean when you write "going to <remotehost>:8080/ doesn't display anything"? Do you get an empty page?

-Hans

On Wed, Jun 6, 2012 at 5:48 PM, Jeff Byrd <jeffreydbyrd@gmail.com> wrote:
Hi everyone,

This is my first attempt at a webapp, and first time posting to the mailing list. I have a question about starting a server on a remote machine. I've been playing with Hunchentoot on my localhost, and it works great. Earlier it worked on my remote webspace also. But recently I've been playing with SBCL threading and Allegro (following this tutorial, which had me install all sorts of weird gigamonkey stuff) and now when I run the command
(hunchentoot:start (make-instance 'hunchentoot:easy-acceptor :port 8080))
it says
#<HUNCHENTOOT:EASY-ACCEPTOR (host *, port 8080)> 
and going to <remotehost>:8080/ doesn't display anything.
I hit cntr-z to put it in the background and then

$ lsof -i :8080 and I get

COMMAND   PID USER   FD   TYPE  DEVICE SIZE/OFF NODE NAME
sbcl    11350 root    5u  IPv4 1816786      0t0  TCP *:http-alt (LISTEN)

I have a feeling it's something simple, like incorrect host variable or a separate thread being stopped, but I'm having a hard time finding answers on Google and related documentation. Any suggestions or information on what that above message means would be greatly appreciated.

Thanks!
Jeff

_______________________________________________
tbnl-devel site list
tbnl-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/tbnl-devel


_______________________________________________
tbnl-devel site list
tbnl-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/tbnl-devel


_______________________________________________
tbnl-devel site list
tbnl-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/tbnl-devel