Running Code online

new BookmarkLockedFalling
gordonsweet
New Member
*

gordonsweet Avatar

Posts: 7

Post by gordonsweet on Sept 28, 2007 5:38:50 GMT -5

It would appear I have wrongly assumed that since all the examples supplied with RBP must have already been ‘ Published ‘ all one needs to do is add the title such as below to for anyone to run the code online. But all I get is the warning that the page cannot be found, so not surprising the code below I Published does not activate either.

What am I doing wrong? As you know normally all one needs to do is upload any single EXE file to a site to enable it to run inline after the warning block is displayed such as the last 2 links below. Beware if opting to download the files, if you run them afterwards all the JPGs etc will unpack onto your drive.

http://localhost:8008/seaside/go/runbasicpersonal?_app=spirals

http://localhost:8008/seaside/go/runbasicpersonal?_app=SPgraphs

www.g4cus.freeserve.co.uk/Photos.htm

www.g4cus.freeserve.co.uk/TEST/Orkneys3.exe


Alyce
Administrator
*****

Alyce Avatar

Posts: 519Female

Post by Alyce on Sept 28, 2007 6:21:16 GMT -5

gordonsweet said:
It would appear I have wrongly assumed that since all the examples supplied with RBP must have already been ‘ Published ‘ all one needs to do is add the title such as below to for anyone to run the code online.


Do you mean on Carl's RB site? To share those, you must use the "share with a friend" link at the bottom of the code editor.

, so not surprising the code below I Published does not activate either.

http://localhost:8008/seaside/go/runbasicpersonal?_app=spirals

http://localhost:8008/seaside/go/runbasicpersonal?_app=SPgraphs



The underscore is no longer to be used in the URL. I believe Jerry mentioned that on the other forum.

http://localhost:8008/seaside/go/runbasicpersonal?app=spirals

http://localhost:8008/seaside/go/runbasicpersonal?app=SPgraphs
-Alyce
StefanPendl
Global Moderator
*****

StefanPendl Avatar

Run for BASIC ...
Posts: 945

Post by StefanPendl on Sept 28, 2007 6:49:37 GMT -5

The following is the outline of how RB works, when you need access from other internet users:

Your Computer at Home => Internet => Any Computer connected to the internet

The following must be done on your computer at home:
  • computer must be switched on
  • RB Server must be running
  • firewall must allow access to port 8008 from outside
  • your application must be published
  • connection to the internet must be active
  • you must know the IP address of your computer on the internet

The URL for your published applications would then look like:
88.99.10.40:8008/seaside/go/runbasicpersonal?app=spirals
Where 88.99.10.40 is the IP address of your computer assigned by your ISP.

If you disconnect from the internet, stop the RB server or power off your computer, no one can access your published applications.
Last Edit: Sept 28, 2007 6:52:05 GMT -5 by StefanPendl
[b]Stefan[/b] - [a href=http://stefanpendl.runbasichosting.com/]Homepage[/a][br][br][b]Please give credit if you use code I post, no need to ask for permission.[/b][br][br]Run BASIC 1.01, Fire-/Waterfox (IE11, Edge), Windows 10 Professional x64, Intel Core i7-4710MQ 2.5GHz, 16GB RAM
carlgundel
Administrator
*****
Creator of Run BASIC

carlgundel Avatar

Posts: 975

Post by carlgundel on Sept 28, 2007 7:29:54 GMT -5

stefanp said:
[/li][li]firewall must allow access to port 8008 from outside[/quote]
This also means that your router (either a device between your PC and your cable or DSL modem, or the modem itself if you don't have a separate router) must be configured to forward the port to your PC. So if you are still running Run BASIC on port 8008 then you must set that up. This is usually done by connecting to your router with a web browser. The process for doing this is similar from one router to the next, but also not quite the same either. If you are unsure how to do this with your router you should be able to find instructions using Google with a query like this (substitute your own router brand and model number of course): Linksys BEFSR41 port forwarding

It's not hard to do, but it can take a little messing around. ;)

-Carl
Last Edit: Sept 28, 2007 7:32:44 GMT -5 by carlgundel
rod
New Member
*

rod Avatar

Posts: 40

carlgundel
Administrator
*****
Creator of Run BASIC

carlgundel Avatar

Posts: 975

Post by carlgundel on Sept 28, 2007 12:44:38 GMT -5

rod said:
What is not being explained here is how we get a "static" IP. Or am I just confusing a confusing issue?

You get a static IP address by calling your ISP and paying for one. This usually means having a business DSL line. However, you do not need a static IP address. If you have a cable modem or DSL modem then you almost certainly have a dynamic IP address, and this should work well enough. To know what your dynamic IP address is, you will need to log into your router's web interface and check. My router calls it a WAN IP address, and your's may have slightly different terminology. If you do not know how to connect to your router, you can probably find out by Googling the brand name and model number of your router (or cable or DSL modem if you don't have a separate router) and the word "manual".

Also, you can register a domain name for your dynamic IP address by using a service called Dynamic DNS. Then you can have a domain like rodsemporium.com or whatever. ;)

For more information try en.wikipedia.org/wiki/Dynamic_DNS

-Carl
rod
New Member
*

rod Avatar

Posts: 40

Chris Iverson
Junior Member
**

Chris Iverson Avatar

There are many worlds, but they all share the same sky. One sky, one destiny.
Posts: 73

I got RBP working over the internet![br][br]http://cssource.servegame.org/rb[br][br]If the server's up you'll see my crappy placeholder webpage!
rod
New Member
*

rod Avatar

Posts: 40

Post by rod on Sept 30, 2007 15:50:04 GMT -5

Ok, having spoken to a UK computer literate buddy it seems I'm being (silly paranoid and slightly stupid about going online) I just wish I could remember the rest of what he said and you could be browsing by now! I am assured that even someone as "inept" (thats the polite version) as me does actually have half a chance of maintaining an on line presence. Given he is trying to sell me a "server" I hesitated to write down every word he said.

The more information published on this the better, an idiots guide would be good. But I just know I'm going to have to buy this guy a beer or two to get the job done.