Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sun Apr 30, 2017 3:29 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Application launched, but unable to connect using port 8888
PostPosted: Thu May 16, 2013 8:24 pm 
Offline

Joined: Tue Jul 27, 2010 7:41 am
Posts: 54
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


Top
 Profile  
 
 Post subject: Re: Application launched, but unable to connect using port 8
PostPosted: Thu May 16, 2013 8:39 pm 
Offline
User avatar

Joined: Sun Oct 28, 2012 4:54 am
Posts: 264
Location: Herts, UK
what version of RS did you compile the web application with?

_________________
Real Studio 2012 R2
SysInfo
BackTrack Linux/BackBox Linux/Debian Lenny/Windows 7/Windows 8/OpenWRT/OpenBSD
& Yes it's me in the Avatar


Top
 Profile  
 
 Post subject: Re: Application launched, but unable to connect using port 8
PostPosted: Thu May 16, 2013 9:04 pm 
Offline

Joined: Tue Jul 27, 2010 7:41 am
Posts: 54
The version is 2012 release 2.1.
Thanks,
Josh


Top
 Profile  
 
 Post subject: Re: Application launched, but unable to connect using port 8
PostPosted: Sat May 18, 2013 7:54 am 
Offline

Joined: Sat Mar 25, 2006 7:29 am
Posts: 120
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


Top
 Profile  
 
 Post subject: Re: Application launched, but unable to connect using port 8
PostPosted: Mon May 20, 2013 7:11 pm 
Offline

Joined: Tue Jul 27, 2010 7:41 am
Posts: 54
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group