Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sun Oct 22, 2017 11:30 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...
PostPosted: Wed May 15, 2013 8:06 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 Perl 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.

Any help would be appreciated.

Regards,
Josh


Top
 Profile  
Reply with quote  
 Post subject: Re: Application launched, but unable to connect using port..
PostPosted: Thu May 16, 2013 1:29 am 
Offline

Joined: Tue Jul 27, 2010 7:41 am
Posts: 54
Hi,
After more mucking around, I have a Perl error log.

*** 'C:\inetpub\TestOEHome\TestOEHome.cgi' log message at: 2013/05/16 15:13:38
Precompiler: Execute Error:
Filename:[C:\inetpub\TestOEHome\TestOEHome.cgi]
Package:[PerlEx::Precompiler::c_::inetpub::testoehome::testoehome_cgi]
Params[]
IO::Socket::INET: connect: timeout

I'm not good with Perl, so does anyone else have an idea on what this means?

Thanks,
Josh


Top
 Profile  
Reply with quote  
 Post subject: Re: Application launched, but unable to connect using port..
PostPosted: Thu May 16, 2013 7:53 pm 
Offline

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

I suppose that one option would be for people to give me a phone call every time they want to connect to my site and I can load it up for them in Command Prompt! :-)

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.

I suppose that if no-one answers this, hopefully my labour will benefit someone else. :-) But, if anyone has any suggestions, they would be gratefully received!

Josh


Top
 Profile  
Reply with quote  
 Post subject: Re: Application launched, but unable to connect using port..
PostPosted: Thu May 16, 2013 7:56 pm 
Offline
User avatar

Joined: Mon Apr 02, 2007 2:08 am
Posts: 1225
Location: San Francisco, CA, USA
You might want to post in the Web applications forum for better visibility.

_________________
Boredom Software


Top
 Profile  
Reply with quote  
 Post subject: Re: Application launched, but unable to connect using port..
PostPosted: Thu May 16, 2013 8:21 pm 
Offline

Joined: Tue Jul 27, 2010 7:41 am
Posts: 54
Thanks, I didn't see that forum at the time. Will move it over.

Regards,
Josh


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

All times are UTC - 5 hours


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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group