Ethernet sheild address printer sketch eror message

I did this a while ago and wrote the ip address down, but I wanted to double check and tried re-uploading and running the sketch It seems to compile fine but then the upload button turns yellow and it says in orange text in the error box

Binary sketch size: 14,934 bytes (of a 258,048 byte maximum)
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer

it's worked fine in the past