Click here to Skip to main content
15,892,072 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
I am using SignalR in My Windows form c#  Sample .My this sample is working on my Local Machine . i set Server URL in server Config file.

    <appSettings>
        <add key ="ServerURI" value ="http://localhost:8080"/>
    </appSettings>
And Client Config File .

<appSettings>
        <add key ="ServerURI" value ="http://localhost:8080/signalr"/>
    </appSettings>
This will work For me .

But my Issue is that  ,if i Enter IPv4 . like "192.168.1.200:8080"; in my server side config file
<appSettings>
        <add key ="ServerURI" value ="http://192.168.1.200:8080"/>
    </appSettings>
 and i run my server file exe as administrator. my server is now on different network.and firewall is open too and My client is using other network .i mean client on other computer and behind different router. and in my client side config file i put my server External IP (what is my ip in google,).
my Client config
<appSettings>
        <add key ="ServerURI" value ="http://39.32.218.183:8080/signalr"/>
    </appSettings>
in that case client and server not connecting each other .

Help me please,
Posted
Comments
stibee 24-Feb-15 1:07am    
I see no problem if the port is open and the ip is correct. I did this in my last project like this.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900