How do you publish tomacat s app on the Internet? Ask a kind God for a detailed answer

Updated on technology 2024-05-17
18 answers
  1. Anonymous users2024-02-10

    If you want the context to be empty, start with http:localhost:8080

    form access, just rename the war package or rename the folder to root

    ps: webapps is actually the value of the appbase attribute of the host node, and the relative path is relative to $catalina base, that is, $catalina base webapps, which can also be configured as other values, or an absolute path, so that the war package or folder in that directory will be automatically published when tomcat starts.

    Second, add a context node to the host node, and a host node can contain multiple context nodes.

    where path is the context, if you want to configure the root directory, only set path=""; docbase is the name of the folder or the name of the war package, and if it is a relative path, it is the appbase relative to the host node where it is located

    PS: Do not point the docbase to a war or folder under the webapps, this may cause the application to be published multiple times; If you publish an application in this way, you need to restart tomcat for it to take effect.

    I modified the default, found.

    Or: 8080 test

    The third one, add it under conf catalina localhost, so that it passes: 8080 test

    Visited. This method is actually added to $catalina base conf, and the default is $catalina base conf catalina localhost. xml, so that the file name of this xml is used as the project path::

    context}, if there are multiple layers, use the interval, e.g. a b, use: 8080

    a b c access.

    ps:path does not need to be specified, and the war package cannot be placed under the same place, and it can take effect without restarting the tomcat deployment.

    Fourth, log in to the Tomcat management console directly: http: localhost:8080

    Publish using Tomcat Manager.

    2.Other deployment configurations.

    1.If you want to start only one tomcat and use a different port to provide services, just add the service node and change the relevant values accordingly

  2. Anonymous users2024-02-09

    1.You can directly use your IP + port + project name to access the same switch.

    2.If not in the same switch, you can go under a nameserver that has been accessed by someone else for the purpose, remember that there is a free rice tree, it seems that this is the name, when I was in school before, I did this.

  3. Anonymous users2024-02-08

    You need an extranet IP for this. You can go to the next peanut shell. This software can help you get it done. This software has an extranet IP

  4. Anonymous users2024-02-07

    First of all, see if you can ping, if you can, http: your IP: 8080 (Tomcat's port) Project name.

    If you can't, you can go to the next free software.,Set up a domain name.,Reflect the corresponding port.,There's a "peanut shell" seems to be okay.,But the free ones are not very stable.。

  5. Anonymous users2024-02-06

    http: The name of the project you published with baiip:8080.

    You need to do a port reflection on the gateway device and map the DAO80 port to your private IP. The recommended version is accompanied by the right to peanut shells. In addition, there is a small problem that you may not be able to access you after all are set up.,That's because of the firewall.。。

    Open port 80 of the firewall.

  6. Anonymous users2024-02-05

    How to add a Tomcat server to Eclipse:

    1. Open the Eclipse development platform interface and find the "window" in the toolbar at the header

    2. Click the Preferences option in the window, find Server in the Preferences panel that opens, click Runtime Environments, and then click the "Add" button on the right.

    3. In the Add Server interface that opens, select the Tomcat server version you want to add this time, "Apache Tomcat", and then click the "Next" button.

    4. Select the Tomcat installation path in the open Tomcat Server interface, and JRE can click the "Finish" button between.

    5. Click the Finish button on the interface of the previous step, and click the OK button again in the back interface, so as to complete the configuration of adding Tomcat server in Eclipse.

    6. After the configuration of adding Tomcat is completed, the drop-down selection of Tomcat server will appear in the interface of file-->new-> dynamic web project in Eclipse.

    7. At this point, it means that you have successfully added the Tomcat server to Eclipse.

  7. Anonymous users2024-02-04

    Go directly tomcat, solve the argument and press it to the position you want to place, hit Bixiao file in IntelliJ Idea to open the project, and you can configure the server on the select run debug configuration side of the repentance

  8. Anonymous users2024-02-03

    web-inf and meta-inf are definitely available, and other specific things depend on the project, such as what ** folders, page folders, styles, etc.

  9. Anonymous users2024-02-02

    First, try turning off your firewall. The Windows Firewall Internet Connection Sharing inside the service

  10. Anonymous users2024-02-01

    Check to see if your Tomcat port is open to the public. or whether the port of the machine corresponding to your tomcat is open to access your machine.

  11. Anonymous users2024-01-31

    Determine how the machine can be accessed first, and if so, the machine can access it. Just modify the first part of the port. If you want to test, you can telnet the port you configured on the machine in other LANs.

  12. Anonymous users2024-01-30

    Tomcat is not directly related to firewalls or anti-virus software, so it doesn't matter if it's off or not.

    Let's say your IP is:

    In the LAN, you can directly access by IP, :Default Port》 <[Filter][Project Name]>

    You can access it directly, if you are directly connected to the Internet, but the IP address has changed, you can access it directly.

  13. Anonymous users2024-01-29

    In the same LAN, just change the private address in the tomcat configuration file to the private address.

  14. Anonymous users2024-01-28

    Configure the listener and you can access it...

  15. Anonymous users2024-01-27

    When tomcat starts, the console has the port number http in it.

  16. Anonymous users2024-01-26

    File configuration**Send a look,It should be the default,And your homepage jsp is now two ways:1 Change the configuration file Set the default page to 2.After you typed **, add a :

    These are all guesses, if not, send the information in the configuration file to see.

  17. Anonymous users2024-01-25

    webtest

    Enter the address bar when accessing.

  18. Anonymous users2024-01-24

    Let's see if the port you configured is 8080?

Related questions
19 answers2024-05-17

Hello! Here is the answer for you!

1.To make sure that this synchronization occurs with the deletion of apps, make sure that the apps on your computer correspond to the apps on your iPod (or that you have more apps on your computer than on your iPod, but be careful!). : If there are apps in the iPod that are not available on the computer, the apps in the iPod may be deleted during synchronization). >>>More

4 answers2024-05-17

1. True/False:

1) Determine whether the following equation is a univariate equation: >>>More

8 answers2024-05-17

4. Browser: Set the system application browser message notification management to turn off "Receive Message Notification". >>>More

16 answers2024-05-17

I like all kinds of fresh apps to play, but because of the excellent relationship between the opposite sex, I am always borrowed by some sisters to play, for fear that my sister paper will open some apps, but I am embarrassed to stop ......After unremitting efforts, I finally found a way to hide the app in my phone without jailbreaking! How do I hide app features on my iPhone? Here's how to hide app features on iPhone. >>>More

7 answers2024-05-17

If you are using a Huawei phone.

Certain applications. >>>More