Mason Posted October 21, 2005 Share Posted October 21, 2005 Ok, so this is my script I have been working on for a while now. I have tested it on my own computer with localhost, and now that its ready for testing over a real connection it won't work... I have made sure no firewall is running on either computer. I have made sure I have the right IP address when I try to connect. I have made sure the tester has the client running. Maybe you could point out something I am missing, or something I need to remove.CompleteControlServer.au3CompleteControl.au3 Link to comment Share on other sites More sharing options...
SlimShady Posted October 21, 2005 Share Posted October 21, 2005 Are you behind a router or proxy? Link to comment Share on other sites More sharing options...
Mason Posted October 21, 2005 Author Share Posted October 21, 2005 (edited) Are you behind a router or proxy?Yes, I am behind a router. Is this a problem?EDIT: Larry, I was actually using _GetIP(), must have been a wierd error in the uploading? Edited October 21, 2005 by Mason Link to comment Share on other sites More sharing options...
Nuffilein805 Posted October 21, 2005 Share Posted October 21, 2005 you have to do portforwarding to make it work just allow your pc at your router to use the port you want to use at the internet my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
flyingboz Posted October 21, 2005 Share Posted October 21, 2005 won't work over internetverify client and server tcp/ip connectivity (can you google?)verify that the application is bound to the interface / port you believe netstat -a -nlook for LISTENING applications.Ensure that you have icmp connectivity from client to server ( can you ping ) this can catch misconfigured routes, dns issues, some firewall / router / NAT issues.attempt client connect to another process running on the same server; i.e. fire up a known good server (ftpd /sshd / telnetd ) ;;;whatever - just so you can test against a known server w/ a known client - we're still debugging connectiivity, not the application at this point.If the above isn't feasible, or you're comfortable w/ the belief that your server is indeed listening on the IP addr / port that you believe it is, then try to telnet directly to the address / port combination:using ms telnettelnet ip_addr port if you have putty, you can use RAW mode for this.Your issue is likely either a hardware router port forwarding issue - if the router doesn't have a rule it drops the packet, leading your client off into /dev/null, OR a software firewall issue, where the firewall is doing the same thing. Reading the help file before you post... Not only will it make you look smarter, it will make you smarter. Link to comment Share on other sites More sharing options...
Mason Posted October 21, 2005 Author Share Posted October 21, 2005 (edited) If I am running the client(CompleteControl.au3) then it should be able to connect to the server regaurdless of any of my port forwarding issues, because port forwarding is only an issue for servers correct? The person that I was testing with, who had the server at the time, does not use a router for his connection. I will check to see if the server is actually listening to the correct ip/port now according to flyingboz's explanation. I'll update the results shortly. EDIT: After running the server on a friends computer with no router, we looked in netstate -a -n and nothing was LISTENING on port 1337. So we found the problem that it isn't listening on the port assigned, but why not and how should we go about fixing this? Edited October 21, 2005 by Mason Link to comment Share on other sites More sharing options...
Mason Posted October 22, 2005 Author Share Posted October 22, 2005 (edited) It is returning 70.241.###.### which indeed is my IP according to this http://www.ventrilo.com/myip.php. Edited October 22, 2005 by Larry Link to comment Share on other sites More sharing options...
Mason Posted October 22, 2005 Author Share Posted October 22, 2005 You cannot bind to a WAN ip... you need to TCPListen on your NIC's IP. Your router will need to forward that port to your IP.Lar.But see, the server is running on a friend's computer who is not running a router... Link to comment Share on other sites More sharing options...
Mason Posted October 22, 2005 Author Share Posted October 22, 2005 Try using @IPADDRESS1 rather than _GetIP()Lar.Just tried that and no success. Link to comment Share on other sites More sharing options...
Mason Posted October 22, 2005 Author Share Posted October 22, 2005 Larry, from what testing flyingboz and myself have done, it seems that there is nothing wrong with the server(yet), but the TCPListen() doesn't seem to want to bind a IP Address that isn't localhost. Link to comment Share on other sites More sharing options...
Mason Posted October 22, 2005 Author Share Posted October 22, 2005 *BUMP* Link to comment Share on other sites More sharing options...
/dev/null Posted October 22, 2005 Share Posted October 22, 2005 Larry, from what testing flyingboz and myself have done, it seems that there is nothing wrong with the server(yet), but the TCPListen() doesn't seem to want to bind a IP Address that isn't localhost.what's the output of "netstat -na" before and after TCPListen()?CheersKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
Mason Posted October 23, 2005 Author Share Posted October 23, 2005 The same, TCPListen isn't even adding it to netstat, it returns -1 anytime you try to bind anything besides 127.0.0.1 Link to comment Share on other sites More sharing options...
/dev/null Posted October 23, 2005 Share Posted October 23, 2005 The same, TCPListen isn't even adding it to netstat, it returns -1 anytime you try to bind anything besides 127.0.0.1Well, then you should open a "Bug Report"...CheersKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
Mosquitos Posted November 20, 2005 Share Posted November 20, 2005 This is not working for me.If i run the script it looks different with your image on imageshack Sapiente vince, rex, noli vincere ferro! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now