12

How to change port 8080 on Apache Tomcat on Linux Centos 6.5 server to the Defau...

 3 years ago
source link: https://www.codesd.com/item/how-to-change-port-8080-on-apache-tomcat-on-linux-centos-6-5-server-to-the-default.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

How to change port 8080 on Apache Tomcat on Linux Centos 6.5 server to the Default?

advertisements

I want to remove switch from port 8080 on my Apache Tomcat on Linux server CentOS 6.5 to the default. On My hosted Apache Tomcat server is running on port 8080 on url vmx15978.hosting24.com.au:8080. After I have installed the Geoserver software on the Apache server the url for it is http://vmx15978.hosting24.com.au:8080/geoserver/web/.

My website domain is links-map.com. Currently I can access Geoserver by this URL: links-map.com:8080/geoserver/web; However, I want to access Geoserver without 8080 using this URL instead: http://links-map.com/geoserver/web/


taken from here

in your tomcat install dir, look for server.xml file.

change

<Connector port="8080" ...

<Connector port="80" ....

or any other port (80 is the default without specifying port)

don't forget to restart tomcat to apply changes

sudo service tomcat7 restart

Related Articles

How to change port 8080 to 80 with Apache Tomcat / 8.0.29 in Ubuntu 14.04?

The answers given in How to change the port of Tomcat from 8080 to 80? and Tomcat7 bind to port 80 fails in Ubuntu 14.04LTS works good for tomcat7, but as I couldn't do a 'apt-get' to install tomcat8, the files created by default during the installat

How to open port 8080 to listen to the HTTP request of the remote computer in ubuntu?

I have run following command :- nmap localhost and get following result :- Starting Nmap 6.40 ( http://nmap.org ) at 2015-08-28 09:52 UTC Nmap scan report for localhost (127.0.0.1) Host is up (0.00031s latency). Not shown: 994 closed ports PORT STATE

how to change port 80 android

I made a webserver on my android device(using Nanohttpd). It's working fine over the port 8080 but I want to make it okay over the port 80,(I want to tape on my browser : http://192.168.x.x instead of http://192.168.x.x:8080/ ) but I'm not able to do

How to install tomcat under Linux (centos 6.4)?

I downloaded Tomcat server from this link : http://tomcat.apache.org/download-70.cgi. How to install this Tomcat 7. Try to give some good commands for this purpose. I'm new to LINUX(i don't know any commands for how to install a packages in linux). P

how to change text & ldquo; Eclipse & rdquo; to another text, say & ldquo; AshuEclipse & rdquo; in the left corner of the header?

How to change text "Eclipse" to some other text say "AshuEclipse" in the Header left hand corner? Note: I dont want ot change the header to show workspace ,but I want to change the word Eclipse itself. Plz suggest.One solution an one w

How to display images using ClassResource and Tomcat vaadin class as a web server?

I have created a Vaadin application that tries to use the ClassResource vaadin class to load some icons along with some vaadin components but I cannot see the icons in the final application. In icons place I see a blue question mark. The application

Changing the instance named by SQL Server to the default instance

This question is in regard to instances. That I asked earlier. Is it possible to change default instance in SQL Server without uninstalling and re-installing? How do we do that if possible? If not possible why is that? Thank you for help :).No. If yo

Tomcat on Linux (centos). Incorrect java version

I have installed Tomcat5 on CentOS 5 using the yum configuration tool. My java web application requires java 1.6 to run without errors. However, my tomcat install appears to be using java 1.4. This is confirmed when I navigate to the tomcat manager p

How do I force a webview application to open links instead of opening them in the default Android browser by domain?

I've just begun developing android apps, so I need some help with my webview app which is easy to understand. So, this is my specific question: How can I force a webview app to open links in it instead of open them in the default browser depending on

How do I insert values ​​into existing rows in a SQL server in the default asp.net mpc project?

I have opened visual studio and created a new default mvc asp.net 4 project. And this is my database table data after adding few extra columns(that I want to use) as shown in the picture below. Updated Question: Basically I used a default mvc project

How can I regain access to MS SQL Server after the default database for a user is taken offline?

Act in haste... In the process of off-lining a database for backup I lost connection, the only user I had details for was set to use the database which I had just off-lined (thankfully not the master database) as the default database...problem as you

How to change port for devserver

I am trying to switch from maven-gae-plugin to appengine-maven-plugin. So far, I was able to start devserver and everything worked fine. However, I would like know how I could change the port since I have other stuff running at 8080. Has anybody alre

How to change Python labels using Apache Spark

I'm trying to shift labels of a LabeledPoint so that they start from 0. Right now parsedDataInit.take(1) looks like this before the code at the bottom: [LabeledPoint(2001.0,[0.884123733793,0.610454259079,0.600498416968,0.474669212493,0.247232680947,0

How to change my settings to allow VS2010 to load third-party XSD files in the & ldquo; Unauthorized area?

I have opened a 3rd party XSD file in Visual Studio 2010 that imports namespaces from other schema files from the same 3rd party. In the XML editor view of the schema file, the xs:import element is underlined with the following error: Request for the

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK