Results 1 to 7 of 7

Thread: Network and Tcp/ip

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2005
    Posts
    72

    Network and Tcp/ip



    i can't connect to my computer (by Tcp/Ip protocol) when it's connecting to locally network Despite i have an internet ...

    if the client program in another computer wich connection to the same network it's work well..

    but from outside computer ican't !



    of course i'm use winsock component

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Jan 2005
    Posts
    72

    Re: Network and Tcp/ip

    uppppppppp

  3. #3
    Fanatic Member Nove's Avatar
    Join Date
    Jul 2004
    Posts
    736

    Re: Network and Tcp/ip

    Are you behind a router?

  4. #4
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: Network and Tcp/ip

    Maybe there's a firewall that blocks the connection attempt?

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Jan 2005
    Posts
    72

    Re: Network and Tcp/ip

    Quote Originally Posted by Nove
    Are you behind a router?
    yes i have a router

  6. #6
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005
    Posts
    2,248

    Re: Network and Tcp/ip

    you're trying to connect to a local computer using the external IP address?

    Don't do that, as all the computers on the network will have the same address.

    Use the address your router assigns them

    also, to forward an incoming signal from the router, assign certain ports to certain PC's. That way, any incoming data on those ports will only go where expected
    Last edited by kfcSmitty; Jun 23rd, 2005 at 02:28 PM.

  7. #7
    Fanatic Member Nove's Avatar
    Join Date
    Jul 2004
    Posts
    736

    Re: Network and Tcp/ip

    I had a problem of not being able to establish a connection as the server behind a router. If you use the winsock.localip property, it will tell you your ip as per the router, something like 192.168.0.x. You can get your real IP from something like www.whatismyip.com. The client needs to connect to the real ip, but the router needs to know which computer to forward the connection to. Type 192.168.0.1 into your web browser. If you're prompted for a username and password use "admin" and "password". This should bring you to your router, where you can set port forwarding. Then just add a new service with the port you're using to connect with and your localip. If that doesn't work, you've got a different problem or your router has a different way of going about it. Check the manual.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width