I have a feeling you're mixing two things here. First, you need to start rocket on 0.0.0.0, so that it will listen to all your local IPs (to simplify things). If rocket starts normally and you still can't access web2py on your local IP, than you need to open your firewall. After your firewall allows connections to your local IP from outside, you'll be able to access web2py from your entire local network. That basically all you want at this point, correct?
Second, you don't need to use your shared disk area in order to have your web2py accessible on your local IP from your local network. You'd only need this if you wanted to *start and run* the same rocket/web2py instance from more than one computer... That's a completely different thing. And this could lead to all sorts of different problems, so I strongly advise you not to try this unless you absolutely need to. I'd also move web2py back on your local storage if I were you, to avoid any possible issues, even if you're starting it from just one computer. So, the 1M$ question now is, can you open your firewall ports..? Regards, Ales On Friday, December 14, 2012 12:27:18 PM UTC+1, Seelife wrote: > > Hi Nico, thanks for input. > yes I know I need to use the IP of my computer so others can access the > running App. > As I said, I am at the moment just running it on my local computer, my > work desktop. I should then be able to access the app by opening the web > address of my computer (IP) and run the app from a separate computer on the > network. > So my app would then be on my local computer as a "server" ie on : > http://nnn.nnn.nnn.nnn:8000 <http://192.168.1.15:8000>/App/default/index > where n is MY local IP address. Thats fine, but I cant get rocket to open > in listening mode - at least thats the way I understand it. > I cannot get web2py (on windows) to open in anything other than the > default 127.0.0.1:8000 setup in framework and that seems to be "local" - > unless Im missing something........ & thats possible > > As for the shared disk... this is a hospital network. > We are not allowed to load to or use the servers for anything other than > authorised systems for good reason. > However, we do have "shared" disk areas that would be accessible by other > workstations on the hospital network. > To get any pilot app system running I need to be able to run it somehow > across the network. > Once running, I can then move it on a "secure" disk and the IT guys would > hopefully help in setting the access and give me the IP to that disk - > whatever it is. Hope that is clearer. > yes I would rather have the thing on the web on a server, but we're not > allowed. > Regards > > > On Friday, December 14, 2012 12:10:01 PM UTC+1, Nico Zanferrari wrote: >> >> Hi Seelife. >> >> In order to access your running web2py application from another pc you >> must use the real IP of your pc (not 0.*, not 127.*). You can find it with >> the IPCONFIG command in a Command Prompt window. Note that (if firewalls >> allow it) the other pc's will connect to your pc only, and not with the >> network >> shared disk. >> Also, placing the files in a network shared disk is not at all a >> suggested configuration.... I cannot see a reason for doing it. >> >> Bye, >> Nico >> >> >> 2012/12/14 Seelife <[email protected]> >> >>> Hi Niphlod, thanks for the hints. >>> I am not sure of the IP address of the network shared disk. In the >>> meantime I testing running on my local machine in "open listening" and then >>> accessing my machine from elsewhere. >>> >>> When I start web2py.exe , I get the Web2py framework starting etc, >>> hardcron etc then if I use 127.0.0.1 and 8000 and pword in the dialog, it >>> works but I cannot access the app from elsewhere. >>> If I use 0.0.0.0 and 8000, the server does not start. >>> If I use 0.0.0.1 and 80 I get WARNING:Rocket.Errors.Port80:Listener >>> started when not ready... and a webpage error. >>> >>> I have an IP address to my local machine but at the moment I cant get >>> rocket to run with anything other than 127 etc. >>> Any suggestions to a total clutz. >>> Thanks >>> >>> >>> On Friday, December 14, 2012 10:05:05 AM UTC+1, Niphlod wrote: >>>> >>>> 0.0.0.0 is not a real address.... 0.0.0.0 is a "fake" address (but >>>> somewhat standard) to say "listen on all network interfaces". >>>> Normally you have a computer running web2py on 0.0.0.0 (for the sake of >>>> the example, on port 8000) that can access "itself" (meaning, from the >>>> same >>>> computer) web2py at http://127.0.0.1:8000 (that's the default address >>>> for "local"). >>>> Other computers needing to connect to this computer must know the ip >>>> address of that computer (or the name): so, if your computer running >>>> web2py >>>> has an ip address of, let's say, 192.168.1.15 (192.168.* or 10.* are the >>>> most common addresses used in LANs), other computers can connect to web2py >>>> opening the browser at http://192.168.1.15:8000, or >>>> http://nameofthehost:8000 >>>> >>>> To know the address of the computer running web2py, just see the >>>> details on the network connection: alternatively, open a dos window and >>>> type "ipconfig": that command list all available network interfaces. >>>> >>>> On Friday, December 14, 2012 9:24:23 AM UTC+1, Seelife wrote: >>>>> >>>>> Hi Massimo, thanks for responding, Im sorry if these are basic >>>>> questions etc. >>>>> I have downloaded the standard package web2pywin zip, installed it on >>>>> my windows computer and all is running well. >>>>> I have now transferred that install and the Apps Ive build to a shared >>>>> workdisk on our work network (windows based). >>>>> >>>>> Now I access web2py.exe and run it as a windows exe file and the >>>>> initial Framework opens, the web2py server starts and asks for the IP, >>>>> port >>>>> & password. If I use the default 127.0.0.1 , 8000 and my password, the >>>>> browser opens, I can via admin open my App, so far so good. >>>>> I can also open the app via >>>>> http://127.0.0.1:8000/APP/**default/index<http://127.0.0.1:8000/APP/default/index>etc >>>>> etc >>>>> >>>>> If I enter 0.0.0.0 port 80 and my password into the web2py server >>>>> dialog box, an IE browser page opens but there is no connection to a >>>>> webpage, so no default just a widows IE error page ie the webpage cannot >>>>> be >>>>> found. >>>>> >>>>> If I Open the Windows Run command and enter python web2py.py -a >>>>> 'pword' -i 0.0.0.1 -p 80 I get an error (I guess cos its on a folder) >>>>> If I try to use the path and command eg S:\Kul\<path to the shared >>>>> disc etc>\BBDB python web2py.py -a 'bb999' -i 0.0.0.1 -p 80 >>>>> Then I also get an error. >>>>> >>>>> Some of our computers are more tightly firewalled, however, I am >>>>> generally able to navigate to the web2py.exe and run the windows exe and >>>>> open the rocket server & start the web2py admin. >>>>> >>>>> So, If that is clearer? These are local machines using the web2py >>>>> Rocket server on a standard windows computer (across a network) >>>>> as per the documentation ...... >>>>> >>>>> *On Windows, run: web2py.exe * >>>>> On OS X, run:open web2py.app >>>>> On Unix and Linux, run from source by typing:python2.5 web2py.py >>>>> So, While I would love to put it on a Unix system, but I dont have >>>>> that option (its not allowed). >>>>> So, how can I start web2py using rocket so that I can open the server >>>>> & allow another different local machine to then open the app. >>>>> I understand that I should be able to once rocket is open in >>>>> 0.0.0.0:80, then I can (hopefully) navigate to the app. >>>>> I guess that I will have to know the IP of that "shared disk" .. OR >>>>> ... is there a better way. >>>>> >>>>> Thanks for the simple replies, Im not a networker or programmer, I >>>>> just use the computers :) >>>>> >>>>> >>>>> On Thursday, December 13, 2012 9:42:56 AM UTC+1, Seelife wrote: >>>>>> >>>>>> Hi Folks, If this is a basic question, my apologies. >>>>>> I have an App Ive built in web2py. Ican run on my local computer or >>>>>> place the whole web2py installation on a shared network disc, access >>>>>> web2py.exe and start up the browser & open my app and all works fine. >>>>>> >>>>>> But here are the questions : >>>>>> How do I start web2py from a networked windows machine so that it >>>>>> opens both web2py and my app only >>>>>> >>>>>> I would like to open the App on at least 2 machines. >>>>>> I assume that I would open one instance of web2py with srat >>>>>> parameters that allow it to "listen" to other requests. >>>>>> Can someone give me simple stupid examples as to how to open the >>>>>> first machine and get web 2py running with my app, then what webaddress >>>>>> or >>>>>> whatever to open the second machine to access the app. >>>>>> There should be no problems in record locks as it is purely a logging >>>>>> data app. >>>>>> >>>>>> I am not a network expert, so please give me a simple way to open on >>>>>> a windows desktop. >>>>>> Thank heaps >>>>>> >>>>>> -- >>> >>> >>> >>> >> >> --

