|
Do I need to start another Bash session?
That's how I do it. The second server needs to be started on a different
port.
Aaron Bartell
litmis.com - Services for open source on IBM i
On Wed, Jul 20, 2016 at 11:10 AM, Mallikarjuna R Tappeta <
mrtappeta@xxxxxxxxx> wrote:
I am learning how to use node.js on IBMi and using Bash tool from windowsexecuting
to connect to IBMi.
I have JS1.js to create Web server and listening to port and has some
actions to perform based on the request from client, when H1.html is used
in browser, It is requesting some action to perform and JS1.js is
respective script. So far everything is good and my Bash session saysfor
server running at http://IP:Port.
Now If I have another set of js & html, for example JS2.js and H2.html
different (Request and Response) tasks to do at the same time when JS1.jswith
is running, Not sure how I can do that as Bash session is still active
previous JS1.js and listening to the first client. Do I need to startexecuted?
another Bash session? Or in other words How can I run multiple client
requests same time which need different server side scripts to be
Note that I am using Bash utility.--
FYI, I am able to run another (For example H3.html) client’s request from
different tab successfully when JS1.js is active as H3.html does not have
any requests (scripts to execute at) to the server and instead it has
client side java script which is executing successfully.
Thanks
Mallik
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.