Why my wampserver taking too long time to response when connected to the internet? But when I disconnected the internet, it's work fine.
You might consider going through the logs to see if it can be determined as to what may be occurring on the server when it is connected to the Internet (e.g. is something being download or uploaded?).