Client on my comp cannot access server on my comp via the internet - firewall problem?



Hi,

I'm writing an internet chat program using winsock in which many clients all
log into a server app on my computer, which controls the clients and sends
the messages.

It works OK, but I'm a little confused because I can't access the server
from my computer on the internet IP address.

When I run the server on my computer and run clients that use my local IP
(192.168....) they connect fine. Also, I asked a friend to connect to my
server from across the internet by using a client with my internet IP
(212......) which also worked fine after I set up my firewall to forward the
correct port to my local computer address (192.168....)

But if I run a client on my computer with the internet address (212...) and
the server also on my machine - it won't connect? Does anyone know what
could be causing this? Perhaps my router's firewall is blocking the client
from accessing the internet and can't get further than my LAN?

Sorry if I haven't explained this very well, would be very grateful for any
help

Thanks
Matt

P.S Wasn't sure where to post this, so you might find this post in another
group too - sorry about that


.



Relevant Pages

  • Re: ISA Server Problems, please help
    ... > clients are unaffected, is it secureNAT clients which are affected? ... then checked Send the original host header to the publishing server instead ... > provided unrestricted internet access. ...
    (microsoft.public.windows.server.sbs)
  • Re: ISA Server Problems, please help
    ... Based on the rules you have listed, SecureNAT clients should only be allowed ... The All access rule for SBS Internet Users ... Web Proxy and/or Firewall Client ... > header to the publishing server instead of the actual one. ...
    (microsoft.public.windows.server.sbs)
  • Re: After installing SBS 2003 two IE 6.0.29 SP2 clients that cannot to companyweb
    ... Mozilla, and other clients can access the http://comanyweb, the SBS server ... Reset the Internet Explorer Settings to Default. ... DHCP was turned off in SBS 2003. ...
    (microsoft.public.windows.server.sbs)
  • Re: login attempts
    ... > Every day i have on my win2000 iternet server a lots of wrong login ... Windows by default allows ... You also need a firewall. ... the internet, except for those ports you know you're using. ...
    (microsoft.public.win2000.security)
  • Re: IPTables Blocking Outbound by destination port.
    ... # firewall Firewall startup/shutdown script ... echo "firewall: ... # for each additional server running from 6000 to 6063. ... Clients may access remote POP-3 servers" ...
    (comp.security.firewalls)