tags:

views:

881

answers:

2

Under Eclipse Ganymede how can I re-configure the default server port (8080) of the Eclipse WTP "HTTP Preview Server"?

@Leonel

I suppose you never saw the "view" linked to this question, I asked "HTTP Preview Server", not other server views where the port is obviously visible between any other settable option ;-) otherwise I would not have asked on StackOverflow if the real problem was only to search between form settings

@Leonel

Tnx for your reliability, it's not a common virtue in these days ;), in fact as read I'd like to know if there is some hidden configurable param :p

+1  A: 
Leonel Martins
I suppose you never saw the "view" linked to this question, rember I asked "HTTP Preview Server", not other server views where the port is between any settable options ;-) otherwise I would not have asked on StackOverflow for searching on tabs
Steel Plume
+2  A: 

HTTP and J2EE Preview servers can be used as well, but as you have discovered, there isn't any UI to change the port used if there is a conflict. However, you can change it manually. Open the "servers.xml" found in the ".metadata.plugins\org.eclipse.wst.server.core" directory under your workspace in a text editor or using File -> Open File in Eclipse. Find the element for the Preview server in question and add a "port" attribute, e.g. port="". Then restart Eclipse to pickup the change.

hope this helps!

Andres Rios