I'm sorry for the trouble this may have caused you — let's check this out.
A few questions: are you using a private or public network? Also, what's the exact message you're getting when connecting your Chromecast to your network
Give these steps a try:
Looking forward to your response.