Real Software Forums
http://forums.realsoftware.com/

Application launched, but unable to connect using port 8888
http://forums.realsoftware.com/viewtopic.php?f=23&t=47900
Page 1 of 1

Author:  Joshua Janssen [ Thu May 16, 2013 8:24 pm ]
Post subject:  Application launched, but unable to connect using port 8888

Hi,
I know that this issue with running CGI has come up a number of times in the forum, but I have gone through all of them to no avail!

I am trying to run a CGI web app on an IIS7.5 server. I have gone through the documentation and have followed it exactly (as far as I can tell).
I have turned off the firewall, and have checked that my ActivePerl is the correct version (32 bit). I have tried with a number of different static ports and I have tried with auto port.

Still, this is the error that I get back in my web browser, "Application launched, but unable to connect using port 8888". Any ideas why this would be?
I notice that this is an error that comes up in the CGI script, but it's rather an ambiguous error so it's hard to know why it doesn't connect.

If I run the exe from Command Prompt using "Start filepath port", the site runs fine and I can connect to it?
Example would be Start C:/Inetpub/TestOEHome/TestOEHome.exe 8888
However, I don't really want to manually start the executable every time someone wants to connect to the site!

I have managed to adjust the Perl Script to give me a Windows Error code # 5 "Access is denied". But I can't work out how the access is denied. The firewall is definitely off, and the permissions are very generous.

Does anyone have any advice/suggestions? They would be gratefully received.

Thanks,
Josh

Author:  p0wn3d [ Thu May 16, 2013 8:39 pm ]
Post subject:  Re: Application launched, but unable to connect using port 8

what version of RS did you compile the web application with?

Author:  Joshua Janssen [ Thu May 16, 2013 9:04 pm ]
Post subject:  Re: Application launched, but unable to connect using port 8

The version is 2012 release 2.1.
Thanks,
Josh

Author:  andrekui [ Sat May 18, 2013 7:54 am ]
Post subject:  Re: Application launched, but unable to connect using port 8

Look in the taskmanager which user starts the executable cgi and look if that user has access to the directory where the program is located. I think there could be your problem.
HTH
Andre

Author:  Joshua Janssen [ Mon May 20, 2013 7:11 pm ]
Post subject:  Re: Application launched, but unable to connect using port 8

Thanks very much for your response Andre!
I ended up re-installing the Operating System and starting again from scratch, it worked pretty well straight up after that!
I was still wondering what the issue might have been, so your advice is a good place to start looking next time.

Thanks again,
Josh

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/