Register for your free account! | Forgot your password?

You last visited: Today at 00:51

  • Please register to post and access all features, it's quick, easy and FREE!

 

[QUESTION]Using Public IP

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2015
Posts: 44
Received Thanks: 1
[QUESTION]Using Public IP

ME AND MY FRIEND SETUP A PRIVATE SERVER USING MY PUBLIC IP SO THAT MY OTHER FRIENDS FROM OTHER PLACE CAN CONNECT.

We did Port Forward.. and now we can use our Public IP to view our website..
but when i try to use the IP into my source... the emulator will stop running and recommend 2 IPs only which is my hamachi IP and my Internal IP or Local IP... i uninstalled the Hamachi and this time the emulator will recommend the Local IP.. so i think it will only read internal IPs...
can someone tell what might be the problem of this?

thank you ePvP.



aiduko1 is offline  
Old   #2
 
elite*gold: 0
Join Date: Oct 2009
Posts: 755
Received Thanks: 531
Bind your sockets on IPAddress.Any (0.0.0.0), portforward the ports used when binding the sockets for the emulator and make sure firewall does not block those ports. Once you have done so you can use a website like canyouseeme.org to verify that the ports can be acessed from outside of your lan.


-impulse- is offline  
Old   #3
 
elite*gold: 0
Join Date: Jul 2015
Posts: 44
Received Thanks: 1
Quote:
Originally Posted by -impulse- View Post
Bind your sockets on IPAddress.Any (0.0.0.0), portforward the ports used when binding the sockets for the emulator and make sure firewall does not block those ports. Once you have done so you can use a website like canyouseeme.org to verify that the ports can be acessed from outside of your lan.
i dont have any idea about binding socket sir but i try to search google about port forwarding same with my router/modem but when i try canyouseeme.org... there is nothing i followed the tuts
aiduko1 is offline  
Old   #4
 
elite*gold: 0
Join Date: Sep 2014
Posts: 131
Received Thanks: 29
IPEndPoint endPoint = new IPEndPoint("0.0.0.0",gameport);
socket.Bind(endPoint);

That's what he means by bind your socket check your serversocket.


iBotx is offline  
Old   #5
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,196
Received Thanks: 5,305
All you need to do is make sure your computer is visible to external networks on the ports conquer uses. This means port forwarding and then all you have to do is configure the source to use your external IP address in its settings.


There's no difference between using internal/external/hamachi address in terms of the server. The only difference is who will be able to access the server and making sure your network configuration is correct.
pro4never is offline  
Old   #6
 
elite*gold: 0
Join Date: Jul 2015
Posts: 44
Received Thanks: 1
Quote:
Originally Posted by pro4never View Post
All you need to do is make sure your computer is visible to external networks on the ports conquer uses. This means port forwarding and then all you have to do is configure the source to use your external IP address in its settings.


There's no difference between using internal/external/hamachi address in terms of the server. The only difference is who will be able to access the server and making sure your network configuration is correct.
i was about to read the Post entitled "non-hamachi" because there is a qouted reply there how to port forward.. i think its deleted now.. i cant see it..
aiduko1 is offline  
Old   #7

 
elite*gold: 0
Join Date: Jul 2011
Posts: 6,534
Received Thanks: 3,170
Spirited is offline  
Old   #8
 
elite*gold: 0
Join Date: Jul 2015
Posts: 44
Received Thanks: 1
My friend can now connect to my server.. i used my PublicIP/externalIP but why i cant login to the server?
aiduko1 is offline  
Old   #9

 
elite*gold: 0
Join Date: Jul 2011
Posts: 6,534
Received Thanks: 3,170
Quote:
Originally Posted by aiduko1 View Post
My friend can now connect to my server.. i used my PublicIP/externalIP but why i cant login to the server?
Use your internal Ip Address.
Run the following command in cmd (Start + R, "cmd"): ipconfig
That will show you the IPv4 Address for your desired ethernet adapter.
Spirited is offline  
Old   #10
 
elite*gold: 0
Join Date: Jul 2015
Posts: 44
Received Thanks: 1
Quote:
Originally Posted by Spirited View Post
Use your internal Ip Address.
Run the following command in cmd (Start + R, "cmd"): ipconfig
That will show you the IPv4 Address for your desired ethernet adapter.
i tried use it sir and the loading bar will show up but it never move an inch.. after few seconds the prompt pop-up "Failed to connect to the game server. Please try again later."

i think there is something that block my connection whenever i try to get into the server...

my port is forwarded, i check it on canyouseeme.org an then i turn off my firewall.. still no luck.
aiduko1 is offline  
Old   #11
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,196
Received Thanks: 5,305
The issue is when he uses his internal ip it connects to the login server which then responds with his external ip which he's having issues connecting to.

Solution 1: Host your server properly. Buy a VPS to host from
Solution 2: Re-code your server so if the connection attempt is from a internal IP it responds with the same address (internal ip rather than external ip)
Solution 3: Use a different loader that overrides the game server response address
Solution 4: Use hamachi (eww)
pro4never is offline  
Old   #12
 
elite*gold: 0
Join Date: Jul 2015
Posts: 44
Received Thanks: 1
Quote:
Originally Posted by pro4never View Post
The issue is when he uses his internal ip it connects to the login server which then responds with his external ip which he's having issues connecting to.

Solution 1: Host your server properly. Buy a VPS to host from
Solution 2: Re-code your server so if the connection attempt is from a internal IP it responds with the same address (internal ip rather than external ip)
Solution 3: Use a different loader that overrides the game server response address
Solution 4: Use hamachi (eww)
My friend from other place can connect the server but only me i cant. How is that happen? But when i put my internal IP to the source, i can now login the only thing is that my friend cant login anymore.
aiduko1 is offline  
Old   #13
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,196
Received Thanks: 5,305
Quote:
Originally Posted by aiduko1 View Post
My friend from other place can connect the server but only me i cant. How is that happen? But when i put my internal IP to the source, i can now login the only thing is that my friend cant login anymore.
we've already explained that... it's because the server is replying with your external ip address and it's not routing as it should.

I've had that happen with specific routers before and I can't really offer much help but basically you're connecting to login server with internal network ip and it then responds telling you to connect to the game server with your external ip which is not working properly for you.
pro4never is offline  
Old   #14
 
elite*gold: 0
Join Date: Jul 2015
Posts: 44
Received Thanks: 1
Quote:
Originally Posted by pro4never View Post
we've already explained that... it's because the server is replying with your external ip address and it's not routing as it should.

I've had that happen with specific routers before and I can't really offer much help but basically you're connecting to login server with internal network ip and it then responds telling you to connect to the game server with your external ip which is not working properly for you.
yeah that's it.. and i wonder why is it.. :3
aiduko1 is offline  
Old   #15
 
elite*gold: 0
Join Date: Oct 2007
Posts: 1,476
Received Thanks: 558
Did you forward it in your router?


turk55 is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
[Question]Are these Homepages Public?
Hi there, I have some Metin2 homepages on my computer and I want to know if they are already public, and if so, please send me the links if...
6 Replies - Metin2 PServer - Discussions / Questions
[Question to the public] What do you want?
Before you criticize: I am attempting to develop a fun, interactive server for everyone who finds interest, I have no interest whatsoever to hear...
7 Replies - CO2 PServer - Discussions / Questions
ECSRO public (question)
whas there an rollback on ecsro public? sry i would check myself but i got no pc nor internet atm... just worried that i lost the suns i bought :P
1 Replies - SRO PServer - Discussions / Questions



All times are GMT +1. The time now is 00:51.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.