ChrisL Posted April 19, 2008 Share Posted April 19, 2008 (edited) Your server is either not running or not listening or your firewall is not configured to forward port 88 to your local PC because the TCPConnect is returning -1. Your code does not account for that. You should change it to if $cCreate = -1 Then Exit Msgbox(262144,"Error","Can not connect to server") Edited April 19, 2008 by ChrisL [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
Kip Posted April 19, 2008 Author Share Posted April 19, 2008 (edited) server running and firewall configured [Else it wouldn\'t work on my sister\'s pc] is your firewall configured? TCPConnect is returning -1. Your code does not account for that. Thnx, i would change it. Edited April 19, 2008 by kip MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
cppman Posted April 19, 2008 Share Posted April 19, 2008 See what happens when you set the listening IP to "0.0.0.0.". Miva OS Project Link to comment Share on other sites More sharing options...
Kip Posted April 19, 2008 Author Share Posted April 19, 2008 with listening ip to 0.0.0.0 its the same as before: can connect to network, not the internet. MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
ChrisL Posted April 19, 2008 Share Posted April 19, 2008 server running and firewall configured [Else it wouldn\'t work on my sister\'s pc] Not according to this IP scanner, I know the IP scanner works because I checked it on my work IP [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
Kip Posted April 19, 2008 Author Share Posted April 19, 2008 then your ip scanner is wrong: MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
ChrisL Posted April 19, 2008 Share Posted April 19, 2008 (edited) So the same port is forwarding on to 5 different IP addresses how does that work then? Which one of those IP address's is you computer? And is your server program set to listen on that IP address? Not 127.0.0.1 or 0.0.0.0 and untick the rest of those forwarded ports and just leave the one that is your machines actual local address Also just because the port is open on the firewall if there is nothing accepting a connection on that port then it still shows as closed There isn't a software firewall (windows XP firewall) enabled is there Edited April 19, 2008 by ChrisL [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
ChrisL Posted April 19, 2008 Share Posted April 19, 2008 Well done.. you just set it up right I got in! Waits for appology [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
Kip Posted April 19, 2008 Author Share Posted April 19, 2008 My local ip address is 192.168.1.101, but that changes almost everytime i reboot my pc, thats why i forwarded a range from 100 to 105. BTW: I unchecked all other ip addresses and it works!! , Ludocus can view all my processes and windows MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
ChrisL Posted April 19, 2008 Share Posted April 19, 2008 My local ip address is 192.168.1.101, but that changes almost everytime i reboot my pc, thats why i forwarded a range from 100 to 105.BTW: I unchecked all other ip addresses and it works!! , Ludocus can view all my processes and windows So set your machine to a static address then, the instructions on your firewall states that on the right hand side [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
Kip Posted April 19, 2008 Author Share Posted April 19, 2008 changed to static ip MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
ludocus Posted April 22, 2008 Share Posted April 22, 2008 Yay! Works great.. Link to comment Share on other sites More sharing options...
Xwolf Posted April 23, 2008 Share Posted April 23, 2008 (edited) Hi Thanks to everybody! I know that! My error was that Router forward port to server IP didn't set. Edited April 23, 2008 by Xwolf 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