News for hackers. Stuff that matters.
Re:Showoff by crikli on Wednesday April 20, 2011 @12:16PM (#2467190)
I had the same question as we do mostly PHP; I'm guessing it just uses Ruby as the host software.

I installed the Gem and was able to acquire a URL but kept getting an error:

An error has occurred: {"stack":"Error: socket hang up\n at Socket.<anonymous> (http.js:1271:45)\n at Socket.emit (events.js:64:17)\n at Array.0 (net.js:825:12)\n at EventEmitter._tickCallback (node.js:126:26)","message":"socket hang up"}

Re:Showoff by geuis on Wednesday April 20, 2011 @01:18PM (#2467474)
Instead of giving this error, there needs to be a message that explicitly tells the user what's wrong. Something like:

"Woops, you said your server was running on port <port>. Is it?"

Re:Showoff by jimmyjazz14 on Wednesday April 20, 2011 @12:29PM (#2467250)
You need to have some server listening on your local machine at whatever port you are creating the tunnel for.

If you just wanted to test it out you could start something like "python -m SimpleHTTPServer" and then "show 8000", which will serve files from your local machine at your showoff url (I might recommend running the server in an empty directory).

Re:Showoff by crikli on Wednesday April 20, 2011 @12:37PM (#2467288)
Right you are; I did that and was able to see a bunch of stuff I'd not want to share over the web. :)

Sheesh. Ruby runs over 3000, if you're not running the ruby server on 3000 there's not going to be anything listening.

Facepalm.

Re:Showoff by jimm on Wednesday April 20, 2011 @01:18PM (#2467471)
A pedantic correction: Rails runs its server on port 3000 by default; Ruby is the language Rails was written in.
Re:Showoff by senex on Wednesday April 20, 2011 @12:28PM (#2467246)
Hey crikli, could you send an email to [email protected] with any extra details that seem relevant? We'd love to track this down!
Re:Showoff by pixeloution on Wednesday April 20, 2011 @01:55PM (#2467630)
you have to leave the 'show' program running or you get that error - leave your terminal window open, don't control-c out of it once you've started it, and it will work fine. I had the same issue :)