- Locate and edit the following file in the Eclipse folder.
- Change the default for the port property to 8081 or what ever port you are using and save the file.
<property id=”port”
label=”%serverPort”
type=”string”
context=”server”
default=”8081″ /> - Start eclipse, select your project, click on the Servers tab at the bottom of the screen.
- Right click on the server you are using, select open, modify port property to match the port you specified earlier.
eclipse/plugins/org.eclipse.jst.server.generic.jboss_1.5.206.v20090115/servers/jboss5.serverdef
