A miniature Web Server like below, run success http://localhost:6789/new.html, how can run on live server?
how run online remote/live server, and where the results appear in this case?
in case, local host appear in CLI...I RUN SERVER...
I RUN IT localhost success, and when a request FROM BROWSER for url:
http://localhost:6789/new2.html done, appeared in Command Line Interface(whereas SERVER running) the header, how to: this remotely/live server as textbook refers?
As for how to run the class on the server, how are you accessing the server? What OS is it?
Servers aren't magical places. They're still computers and they still have a command line. Unless you want to do something fancy like a service or daemon, run your class like you would on a desktop.