Page 1 of 1

Executing program in a server

Posted: Fri Feb 11, 2011 6:04 pm
by EvilByte
Hi,
I made a small server for chatting and i want to execute it at a remote server (apache) which i have access only through ftp. Can i do that?

Re: Executing program in a server

Posted: Fri Feb 11, 2011 6:24 pm
by Rook Zimbabwe
well if you access YOUR server you should be able to upload your file... now it is going to depend on YOUR hosting service as to weather they let you run your program...

otherwise NO

and if it isn't YOUR website server... I wouldn't even try it! There are several chatrooms available in Ruby, Java, Php, Perl, Python etc... my site host allows all to be easily configured so I don't need to write my own. FREE.

Re: Executing program in a server

Posted: Fri Feb 11, 2011 6:42 pm
by EvilByte
I wasn't quite clear, i don't want to add chatbox in my website.I made something like a messenger.I can upload my chatserver.exe at the remote pc but i cannot make it run there and accept connections from chatclient.exe.Tried using PHP exec() but without success :(

Re: Executing program in a server

Posted: Fri Feb 11, 2011 8:02 pm
by Trond
Maybe the server is running Linux, not Windows?

Re: Executing program in a server

Posted: Fri Feb 11, 2011 8:27 pm
by EvilByte
You 're right Trond just noticed that the server is running ubuntu! :oops:
However i don't have linux at my PC...
Should i search for a windows server?

Re: Executing program in a server

Posted: Fri Feb 11, 2011 10:15 pm
by Rook Zimbabwe
or DL ubuntu and install it on anothe rmachine or as a dual boot... then DL the linux version of PB from your registered account and recompile and you are in business!

Most windows servers you didn't set up have very strict security... I would talk to your host first!

OR

You caould host it on your computer! :mrgreen: