in reply to Re^4: Run Perl Mojolicio Server from SSH
in thread Run Perl Mojolicio Server from SSH

Listening at "http://*:3030"

weeeek :/ I get

[Thu Feb 6 03:27:58 2014] [info] Listening at "http://*:3000". Server available at http://127.0.0.1:3000.

The 127.0.0.1 part tells me what the server is :)

Try specifying explicitly to listen on server_address

Also try netstat to see what you're listening on

Replies are listed 'Best First'.
Re^6: Run Perl Mojolicio Server from SSH
by iseif (Novice) on Feb 06, 2014 at 11:54 UTC

    I found the problem..

    If I use the nohup with the ssh then the server somehow won't be reachable - but when I run the server without the nohup as for example - using the following code:

    ssh root@hostname 'cd /server_path/; (usr/bin/perl server_file );'

    it works.

    what may be the problem here?

      I found the solution :-) - the problem was with the nohup command - it was missing the:

       2>nohup.out

      I added it and it works now.

      Thanks everybody.