tcp - Delphi chat dont send message on some ip -


i want make simple delphi chat. use tcp/ip client , server socket. when try send message on computer getting error 10060.

to simplify if computer "comp1" , other computer in network "comp2" on both computer set same port (9096 example) on comp1 set ip of "comp2" , on "comp2" set ip address of "comp1".

ports open in firewall..

"comp1" personal , have dynamic ip address , router(maybe problem router?) "comp2" other computer don't have router , have static address.

when try send message "comp1" "comp2" message on "comp2" , don't have problem, if try send message "comp2" "comp1" not message , few seconds message 10060 error.

when try in local network local ip addresses program work.

is problem router or else?

thanks

this isn't delphi issue, network configuration issue. problem router receives message comp2 doesn't know it. need enable port forwarding on router forward port 9096 (or whatever tcp port using) on comp1. you'll need configure router reserve same address comp1 pc, otherwise program stop working if pc gets assigned different ip address when it's rebooted.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -