I am writing one API
where I have to start node server in newly created dynamic website & response should contain URL (IP address)+Port.
We are using this application in same LAN
.
Please suggest me the best solution.
Currently I am trying to achieve this using node library http-server
run through node child-process. But it having issue while stopping server, process not killed properly.