I can able to access the folder views from server machine using nautilus. Now i want to access the apache tomcat to access the browser view from that server. So please help in how to access the server's browser view.
1 Answer
If you want to access tomcat, you can connect to the machine using your browser. This depends on what services you have installed with tomcat, as they can set the port they advertise on, but generally 8080 is a good start:
http://:8080
However, I was wondering about the "from a server". If you have ssh'd into the server, you are in command line mode, and you can't run a web browser from there (well, you can use curl or wget).
-
From curl or wget i can able to run the web browser locally? Is that correct?– tweetyAug 13, 2019 at 7:21
-
Not really. curl will send an HTTP request to your tomcat server, and it can print the returned results. Use jq to format json. But its not a web browser. Oct 16, 2019 at 17:06
localhost
at your browser's address bar? It will work unless the default port is other than80
, if you need help detecting the port I'll be glad to assist.