Starting 2 web2py standalone applications at the same time

26 views
Skip to first unread message

mostwanted

unread,
Jul 23, 2020, 1:57:49 AM7/23/20
to web2py-users
Hi Guys, how can i install 2 web2py binary standalone applications in one computer & start them at the same time without them interfering with one another?

I am asking this because everytime i try to start 2 web2py standalone applications they interfere with one another, its like they get bumbled up together the computer cant differentiate between the two.

Regrads;

Mostwanted

AGRogers

unread,
Jul 23, 2020, 3:16:28 AM7/23/20
to web...@googlegroups.com
I think you just need to run each on a different port. 

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/5f86cbe6-fd88-463a-9d2c-54bb5aa9aaa5o%40googlegroups.com.

mostwanted

unread,
Jul 23, 2020, 4:29:42 AM7/23/20
to web2py-users
Is there a way to define the port in a bat script that launches the app?


On Thursday, July 23, 2020 at 9:16:28 AM UTC+2, AGRogers wrote:
I think you just need to run each on a different port. 

On Thu, 23 Jul 2020, 3:57 pm mostwanted, <godir...@gmail.com> wrote:
Hi Guys, how can i install 2 web2py binary standalone applications in one computer & start them at the same time without them interfering with one another?

I am asking this because everytime i try to start 2 web2py standalone applications they interfere with one another, its like they get bumbled up together the computer cant differentiate between the two.

Regrads;

Mostwanted

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web...@googlegroups.com.

Dave S

unread,
Jul 23, 2020, 5:28:07 AM7/23/20
to web2py-users


On Thursday, July 23, 2020 at 1:29:42 AM UTC-7, mostwanted wrote:
Is there a way to define the port in a bat script that launches the app?


Of course.  port is just a command line parameter for the web2py command, which you can wrap in the bat  Knowing what port to use is the tricky part, but unless you're running with elevated privileges ports at or above 8000 are normal.  I think one of the net commands tells you what is in use.

/dps
Reply all
Reply to author
Forward
0 new messages