The port is usually set automatically and you don’t have to worry about it. Your problem could be as simple as not having the permissions set properly or the host computer may not be set up properly. My first VPS account was with DreamHost and I frequently got the same error you are seeing. Eventually I got tired of it and got a new VPS account at HardHatHosting. The only time I see that message now is when I forget to set the permissions after uploading a new app.
Thanks. It’s due to missing 32-bit Libraries. I uploaded this to a site running on Amazon Cloud and it’s running 64-bit. This is the error when I run it directly at command line:
TaskManager: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
I uploaded it to a site hosted by hostagator and it works fine.