btw i created timer 2 before because i thought it would be better to do timer than doing repeat loop in the button click but i forgot to ask you about this because i did this while you were sleeping. is it better to use timer or is it okay with the repeat loop
Yes, you could use timer2 to check for incoming connections.
I think (hope) the delay the timer has, is short enough for the server to respond to the incoming connection.
also is it possible for you to connect my server right now?
That's only possible if you forwarded the used port on your router and you supply your external IP adres.
And in that case you shouldn't bind to 127.0.0.1 on the server but to 0.0.0.0 (which is all network interfaces automatically, local computer 127.0.0.1 and any internal IP).