Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / DarkNet: Using Exteral IP with NAT loopback router

Author
Message
Parry
AGK Developer
14
Years of Service
User Offline
Joined: 16th Dec 2009
Location: Swampstone
Posted: 27th Jul 2011 22:09
My router has NAT Loopback meaning I can run a server/client on the same computer and connect them using the external IP address. I didnt have any problems doing this with the first version of darknet, but after updating to the newest version (thats been out a while now) I can only connect using the local IP address.

Here is my code for running the server:

string IP is equal to the external IP address



I also included a test program.

Attachments

Login to view attachments
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 27th Jul 2011 23:20
go to the program announcement board, there is a mikenet thread (pinned i think?), ask there, he's the creator of mikenet(darknet), you'll get a better chance for an answer there

Parry
AGK Developer
14
Years of Service
User Offline
Joined: 16th Dec 2009
Location: Swampstone
Posted: 27th Jul 2011 23:44
Nevermind i fixed it.

I worked on this problem all day but I finally figured it out. The Setlocalprofile IP should be the localhost IP and I had the same problem on the clientside.

Login to post a reply

Server time is: 2024-05-18 13:47:36
Your offset time is: 2024-05-18 13:47:36