<Service name = "catalina1">
// Port 9001
<Connector Port = "9001" protocol = "HTTP/1.1"
Connectiontimeout = "20000"
Redirectport = "8443" type = "regxph" text = "yourobjectname"/>
<Connector Port = "8009" protocol = "AJP/1.3" redirectport = "8443"/>
<Engine name = "catalina1" defaulthost = "localhost">
<Realm classname = "org. Apache. Catalina. realm. userdatabaserealm"
Resourcename = "userdatabase"/>
// Access address appbase
<Host name = "localhost" appbase = "webapps/lD"
Unpackwars = "true" autodeploy = "true"
Xmlvalidation = "false" xmlnamespaceaware = "false">
</Host>
</Engine>
</Service>
I don't know why I changed the port number. Why can't I submit an address error in Ajax?
// Localhost access
<Connector Port = "80" protocol = "HTTP/1.1"
Connectiontimeout = "20000"
Redirectport = "8443" type = "regxph" text = "yourobjectname"/>
Tomcat change port number