# Can't connect to server

**URL:** <https://forum.kirupa.com/t/cant-connect-to-server/311018>\
**Category:** flash\
**Created:** [June 25, 2010, 6:22am UTC](https://forum.kirupa.com/t/cant-connect-to-server/311018 "2010-06-25T06:22:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fadiyoosuf](https://avatars.discourse-cdn.com/v4/letter/f/bcef8e/32.png) [@fadiyoosuf](https://forum.kirupa.com/u/fadiyoosuf)\
**Post date:** [June 25, 2010, 6:22am UTC](https://forum.kirupa.com/t/cant-connect-to-server/311018/1 "2010-06-25T06:22:36Z")

</div>

Hi

Using XmlSocket.Connect method I can only connect to localhost or 127.0.0.1

I can’t connect to any remote servers or even with the name or ip address of local system specified

socket.connect(“localhost”,7777); //Works

socket.connect( “UX” , 7777); // Doesn’t work… .UX is the name of the local server

socket.connect(“192.168.0.11”,7777); //this is also not works

Can you help me?

Thank you  
Fadi
