Commit 4d55b7935d1b1237b73845b8ed68896339330775

Authored by Paul Brodner
1 parent df433f280d
Exists in master

add port on getting alfresco version

src/main/java/org/alfresco/tasenvironment/models/Environment.java
... ... @@ -136,7 +136,7 @@ public class Environment
136 136 public String getVersion()
137 137 {
138 138 HttpClient client = new HttpClient();
139   - GetMethod get = new GetMethod("http://"+ getIp() + "/alfresco/service/api/server");
  139 + GetMethod get = new GetMethod("http://"+ getIp() + ":" + getPort() + "/alfresco/service/api/server");
140 140 String version = "Unknown";
141 141 get.getParams().setSoTimeout(5000);
142 142 try
... ...