cgi Problem on OS X

I have this project file developed for cgi on a Mac OS X web server.
If I compile it with XOJO version 2013 release 4.1 it won’t start (application could not be launched on port xxxx) but if I compile it with 2013 release 2 it works perfectly, without any errors at all.
Is there someone with more knowledge of cgi who wants to have a look at it?

Open up Activity Monitor and kill the old .cgi process, then relaunch in the browser.