Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Running HTTPPreview on Port 8000

DZone's Guide to

Running HTTPPreview on Port 8000

· Java Zone
Free Resource

Learn how to troubleshoot and diagnose some of the most common performance issues in Java today. Brought to you in partnership with AppDynamics.

As you may know, Tomcat listens to port 8080 by default. And so does HTTPPreview and J2EEPreview. So how do you run HTTPPreview and Tomcat at the same time? While it is more obvious how to change the port for Tomcat in server.xml, it is easier to change the port for HTTPPreview--but not so obvious.

The following procedure is included in a new training video at 2 minutes, 30 seconds.

1. In the Servers view, right-click on the HTTPPreview at localhost document and select the Properties option.

2. Press the Switch Location button to move the configuration for HTTPPreview to your workspace. Result: The Servers "project" is displayed.

Expand the Servers folder.

Open the HTTPPreview at localhost file with a text editor.

Add the port="8000" attribute.

Understand the needs and benefits around implementing the right monitoring solution for a growing containerized market. Brought to you in partnership with AppDynamics.

Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}