NextCode Posted March 14, 2013 Share Posted March 14, 2013 TCPStartup() Global $Server Global $sIPAddress = TCPNameToIP('some.no-ip.info') Global $nPort = 80 $Server = TCPListen($sIPAddress,$nPort) IF @error Then MsgBox('','','Error') Exit EndIf Hi Dudes , a litle question , hope they can help me : Why i Get error on try to connect an external IP using No-Ip , and if I put No-IP to localhost , yes its work good ... What Happening ? thanks for all and sorry , regards Link to comment Share on other sites More sharing options...
Developers Jos Posted March 14, 2013 Developers Share Posted March 14, 2013 So you are trying to set the IP address you want to listen on to an address your Computer is not aware of? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
NextCode Posted March 14, 2013 Author Share Posted March 14, 2013 Thanks for your quick reply No , No-Ip its good and everything ok on router , but give me error , if i use TCPConnect its work good and SynSent ... Link to comment Share on other sites More sharing options...
Developers Jos Posted March 14, 2013 Developers Share Posted March 14, 2013 No it isn't ... The Ip address is not owned by your PC! The Ip address is owned by your router at best and you NAT it to the internal IP address of your PC running the program. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
NextCode Posted March 14, 2013 Author Share Posted March 14, 2013 if I understand , when i use my own @IPAddress1 on No IP DUC its work good , but how can I do it work for listening external IP with SomeNoIp.com? sorry for my Bad English and thanks Link to comment Share on other sites More sharing options...
Developers Jos Posted March 14, 2013 Developers Share Posted March 14, 2013 (edited) This SomeNoIp is simply a Dynamic DNS for the external (Internet) ipAddress of your Router. Simply NAT port 80 from your Router to the internal IP address of your computer and run your program listening to its own IP address. Not LOCALHOST! After that, people should be able to connect to your SomeNoIp DNS name which then connects to your router which then forwards to your PC... Jos Edited March 14, 2013 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
NextCode Posted March 14, 2013 Author Share Posted March 14, 2013 Humm ok , my Bad , will try this way , thanks Jos 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