Is that IDE v1.0? There is a bug that will cause some problems. Upload this and then open the serial monitor. Wait for "ready", then make a request with a web browser (http://192.168.1.177). Do you get "Getting request", "Sending response" and "Disconnected" on the serial monitor?
void setup() {
Serial.begin(9600);
pinMode(4,OUTPUT);
digitalWrite(4,HIGH);
Ethernet.begin(mac, ip);
server.begin();
delay(1000);
Serial.println("ready");
}
void loop() {
EthernetClient client = server.available();
if (client) {
Serial.println("Getting request");
while(client.available()) Serial.write(client.read());
Serial.println("Sending response");
client.println("HTTP/1.1 200 OK");
client.println("Content-Type: text/plain");
client.println();
client.print("Temperature: ");
client.println();
delay(10);
client.stop();
Serial.println("Disconnected");
}
}
edit: Added a Serial.write(client.read()) so you can see the received characters.
Hint: If the 605 bug is affecting your code, then you will get garbage (same few dozen characters over and over) after the "Getting request" and you will probably never see the "Sending response".