DEV Community

Cover image for How to connect Apache tomcat to Apache Netbeans IDE
vishal patidar
vishal patidar

Posted on

How to connect Apache tomcat to Apache Netbeans IDE

What is Apache tomcat

it's an open-source Java servlet and Java Server Page container that lets developers implement an array of enterprise Java applications. Tomcat also runs a HTTP web server environment in which Java code can run.

What is Apache Netbeans

It's a IDE that is use to develop any kind of application like Java EE application, PHP, Java SE application and many more. It provide many tools and plugin that will productive developers works.

Before move further download apache tomcat and netbeans

Download apache tomcat version 9

Download Apache Netbeans version 12

you can download any version right now for the tomcat 10 version is available but for this blog we will use tomcat 9 version and Netbeans 12 version you can also download Netbeans version 13.

Download Apache tomcat file and unzip it.

Open the Netbeans IDE

Click on Services tab

Image description

Now right click on Servers and add server

Image description

Click on Browse button and Select tomcat folder that you downloaded

Image description

Now config username and password and should be remember because when you will run the server it will ask you to enter username and password.

Image description

Now your server will create on server tab and select server and do right click on created server and start server. It will ask you to enter username and password.

Image description

To check your server run successfully or not run below link on browser.

http://localhost:8080/

Top comments (0)