iam trying ti access a file on a server by the next code it run good on S60 but when trying it on S80 it return eeror Server not found -5401

int rc=0;
HttpConnection connection = null;
InputStream in = null;
StringBuffer buffer = new StringBuffer();
int i= 0;
try {
i++;
connection = (HttpConnection)
Connector.open(
URL);
i++;
rc = connection.getResponseCode();
if (rc != HttpConnection.HTTP_OK) {
throw new IOException("HTTP response code: " + rc);
}


in = connection.openInputStream();
i++;
int ch;
while ( (ch = in.read()) != -1) {
buffer.append( (char) ch);
}
String line = new String(buffer.toString());
Alert alert = new Alert(
"Rating", line, null, null);
alert.setTimeout(Alert.FOREVER);
alert.setType(AlertType.ERROR);
display.setCurrent(alert);

buffer = new StringBuffer();
}
catch (IOException error) {
Alert alert = new Alert("Error", "Cannot connect" + error.getMessage()+" "+i+rc, null, null);
alert.setTimeout(Alert.FOREVER);
alert.setType(AlertType.ERROR);
display.setCurrent(alert);