Minecraft server keeps giving error?

ı have been playing on a server and i keep getting this message: an existing connection was forcibly closed by the remote host
but here is the strange part. Itdoesnt happen on daylight. I play smoothly all day, but when it is about 11 pm, it starts giving this message and i can't play anymore until next day
btw its not because i play fora long time, because today i didn't play all day but when i tried to play at about 11:30 pm, it again started to give this message

p.s: everytime i have about a minute before i'm kicked out again

Do you have hosting? ,
this used to happen to me when I put the client limit to "50" but i was only allowed "20" so it produced this error. I relised that is not the reason because you play happily all day. This may be because of your firewall. It may only be allowed for the minecraft server to run all day but then it declines it when the firewall period is over. If this is not the case then save the minecraft world and copy it to a temporary folder, Then re-download the Server files from minecraft.net (or bukkit) and then reinstall the world files and check if the issue has resolved. Make sure your connecting via localhost if your hosting it on your computer, some people are known to have issues when they connect via 192.168.0.2-250.

Hope it helps and you get your server back on track.

I think the server that you are trying to connect to limits the requests from hosts, its to avoid DDoS's. This might be the issue, its good service but can lead to this, which is why i'm a bit doubtful to add that type of feature to game servers. I do however, doubt that it has anything to do with your firewall. But i think it is probably similar to what i explained earlier, The server lets you be on for a certain amount of time and then denies your connection. What is the IP? Maybe i can have a look, see if it happens to me as well