Running a Rshiny app locally

Please see my related answer here:

https://stackoverflow.com/questions/73119466/run-shinyapp-locally/73121924#73121924

or here:

https://stackoverflow.com/questions/73120765/how-to-restrict-shinyapp-to-one-computer/73121648#73121648

thank you everyone for helping me out, really appreciate your brain power.