New topic: 

How to run compiled app from same PC as developed?

<http://forums.realsoftware.com/viewtopic.php?t=38288>

         Page 1 of 1
   [ 11 posts ]                 Previous topic | Next topic          Author  
Message        tseyfarth          Post subject: How to run compiled app from 
same PC as developed?Posted: Wed Mar 23, 2011 3:08 pm                         
Joined: Sat Dec 04, 2010 9:14 pm
Posts: 194                Hello all.

I want to try running the compiled application on my notebook computer.  This 
is the same as the one that is being used to develop.  It has Apache installed 
as well as the PostgreSQL database.

I have compiled as a CGI 2011R1, and placed the contents of the compiler out 
put into the CGI-Bin folder inside of the Apache folder.

I am at a loss as to how to get the browser to open/start the application.  Can 
anyone tell me how to do this?

Thank you
Tim   
                             Top                 tseyfarth          Post 
subject: Re: How to run compiled app from same PC as developed?Posted: Wed Mar 
23, 2011 3:15 pm                         
Joined: Sat Dec 04, 2010 9:14 pm
Posts: 194                Aparantly there is also IIS 7.0 installed on this 
machine too.  The debugger must be using this, since it points to 
http://127.0.0.1:34993/frmMain   
                             Top                 charonn0          Post 
subject: Re: How to run compiled app from same PC as developed?Posted: Wed Mar 
23, 2011 3:44 pm                                 
Joined: Mon Apr 02, 2007 2:08 am
Posts: 385
Location: San Francisco, CA, USA                Whichever server platform you 
use, the URL will always start with http://127.0.0.1 since that's the IP 
address that always refers to the local machine. Port number and path may vary. 
     
_________________
Boredom Software  
                             Top                tseyfarth          Post 
subject: Re: How to run compiled app from same PC as developed?Posted: Wed Mar 
23, 2011 5:13 pm                         
Joined: Sat Dec 04, 2010 9:14 pm
Posts: 194                OK, so how do I get it to run?  

IIS is trying to run it, so I put the files into the inet folder. But I would 
rather have only Apache try to run it.  So right now neither will run it.

Ideas anyone?   
                             Top                 timhare          Post subject: 
Re: How to run compiled app from same PC as developed?Posted: Wed Mar 23, 2011 
5:23 pm                         
Joined: Fri Jan 06, 2006 3:21 pm
Posts: 9543
Location: Portland, OR  USA                Find out which port Apache is 
listening to and use that port.  If they're both running, then they're either 
competing for the same port (which is a config error) or each is configured for 
a specific port, typically 80 or 8080.   
                             Top                tseyfarth          Post 
subject: Re: How to run compiled app from same PC as developed?Posted: Wed Mar 
23, 2011 5:40 pm                         
Joined: Sat Dec 04, 2010 9:14 pm
Posts: 194                Apache is set to 8088.

Tomcat is NOT running. Is that necessary?
Tim   
                             Top                 swort          Post subject: 
Re: How to run compiled app from same PC as developed?Posted: Wed Mar 23, 2011 
6:55 pm                         
Joined: Mon May 31, 2010 5:35 am
Posts: 829                try: [url]http://localhost/[appname].cgi[/url]

replace [appname] with your application name.      
_________________
SWORT™, it stands for Secure Web Object Realtime Transfer™
- Windows Vista AND Linux Ubuntu 10.04 LTS
- REAL Studio Enterprise(latest) and WEB Edition(latest)
- REAL SQL Server 2009
For Dutch User Groups ask me to enter!  
                             Top                 swort          Post subject: 
Re: How to run compiled app from same PC as developed?Posted: Wed Mar 23, 2011 
6:56 pm                         
Joined: Mon May 31, 2010 5:35 am
Posts: 829                Edit doesnt work for the forum but i meant this:

http://localhost/[appname].cgi      
_________________
SWORT™, it stands for Secure Web Object Realtime Transfer™
- Windows Vista AND Linux Ubuntu 10.04 LTS
- REAL Studio Enterprise(latest) and WEB Edition(latest)
- REAL SQL Server 2009
For Dutch User Groups ask me to enter!  
                             Top                 tseyfarth          Post 
subject: Re: How to run compiled app from same PC as developed?Posted: Wed Mar 
23, 2011 7:32 pm                         
Joined: Sat Dec 04, 2010 9:14 pm
Posts: 194                Hi Swort....  

Thanks for your reply! 
Without the port, it brings up an IIS error page.  With the port, it brings up 
the cgi script.

Tim   
                             Top                 swort          Post subject: 
Re: How to run compiled app from same PC as developed?Posted: Wed Mar 23, 2011 
8:39 pm                         
Joined: Mon May 31, 2010 5:35 am
Posts: 829                tseyfarth wrote:Hi Swort....  

Thanks for your reply! 
Without the port, it brings up an IIS error page.  With the port, it brings up 
the cgi script.

Tim

ok then your port is different then the default server port?      
_________________
SWORT™, it stands for Secure Web Object Realtime Transfer™
- Windows Vista AND Linux Ubuntu 10.04 LTS
- REAL Studio Enterprise(latest) and WEB Edition(latest)
- REAL SQL Server 2009
For Dutch User Groups ask me to enter!  
                             Top                 tseyfarth          Post 
subject: Re: How to run compiled app from same PC as developed?Posted: Wed Mar 
23, 2011 11:18 pm                         
Joined: Sat Dec 04, 2010 9:14 pm
Posts: 194                I checked it again, I was referencing a document that 
I had, but was able to find it by trying both port 8088 and 8080.  I had set it 
to 8088 since something else wanted 8080 at one point. But since then the 
server was re-installed.

Anyway it is on 8080.  This just shows the cgi script.  
http://localhost:8080/axcysembedded.cgi

Tim   
                             Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 11 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to