Jump to content

tcp help


Recommended Posts

but i just tryed to see about it was somethink wrong with the rest of the code but when i cange 80.162.124.203 to 192.168.1.138 it opens :s but not with 80.162.124.203 :s

What opens? What script? client or server?

The IP should be set to 192.168.1.138 in the server script and 80.162.124.203 on the client script. The server script will not work if you put in 80.162.124.203.

Assuming all Client and server computers are running WindowsXP:

Open up the server script (the one listening)

On the server machine

go to start->run type in "telnet 192.168.1.138 50003"

A telnet windows should open and what you type should appear in the box from the Autoit script. Does this work?

Restart the server script.

On another machine on your home network,

go to start->run type in "telnet 192.168.1.138 50003"

A telnet windows should open and what you type should appear in the box from the Autoit script. Does this work?

Restart the server script.

On your friend's computer

go to start->run type in "telnet 80.162.124.203 50003"

A telnet windows should open and what you type should appear in the box from the Autoit script. Does this work?

I think maybe you're having problems wrapping your head around NAT / port forwarding?

I can't find any really good websites that really break it down to the basics.

Basically if in your router, you are forwarding port 50003 to 192.168.1.138 that essentially "connects" port 50003 of your external IP (80.162.124.203) to the internal machine 192.168.1.138

Maybe this will help explain it?

http://lc.netcomm.com.au/nat.html

Link to comment
Share on other sites

hmm no im not really haveing problems with understanding only a little bit i dident know on that web site but thanks anyway :)

okay and to your question i only did the first and the last one gonna do the last one in the morning :party:

but in the first ex. its works

in the last it dident work (on my friends computer)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...