According to the symptoms you have described, your eyes may get infection which you need to pay attention to. Your long time use of eyes in front of the computers may make your eyes get infection easily. You could use some eyes drops with anti-inflammation to release the symptom. In addition, you could also try the warm compress to make your eyes feel comfortable.
Well, sounds like you have run into some problems with your eyes because our eyes would simply not be painful without a proper reason. As a matter of fact, painful eyes could also be resulted from some inner causes such as eye infections, migraine,or photophobia. Thus, it would be clever for you to figure out where went wrong with your health and take actions afterwards. If you are not sure, just get some medical checkup.
First, check if you have overused your eyes. Although you have a good sleep, your eyes may hurt as well. Maybe you have overused your eyes in the daytime. Sitting before computers or staying in the warm environment for a long time may make the eyes dry, then your eyes may hurt because of the dryness of your eyes. To make your eyes feel better, you can use some eye pads which are cool and anti-fatigue. Besides, pay attention to your diet, eat more vegetables that contain vitamin A and E.