|
You last visited: Today at 20:32
Advertisement
[QUESTION]Using Public IP
Discussion on [QUESTION]Using Public IP within the CO2 Private Server forum part of the Conquer Online 2 category.
10/12/2015, 12:31
|
#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.
|
|
|
10/12/2015, 13:56
|
#2
|
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
|
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.
|
|
|
10/12/2015, 14:45
|
#3
|
elite*gold: 0
Join Date: Jul 2015
Posts: 44
Received Thanks: 1
|
Quote:
Originally Posted by -impulse-
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
|
|
|
10/12/2015, 15:37
|
#4
|
elite*gold: 0
Join Date: Sep 2014
Posts: 194
Received Thanks: 52
|
IPEndPoint endPoint = new IPEndPoint("0.0.0.0",gameport);
socket.Bind(endPoint);
That's what he means by bind your socket check your serversocket.
|
|
|
10/12/2015, 17:06
|
#5
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
|
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.
|
|
|
10/13/2015, 03:53
|
#6
|
elite*gold: 0
Join Date: Jul 2015
Posts: 44
Received Thanks: 1
|
Quote:
Originally Posted by pro4never
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..
|
|
|
10/13/2015, 04:07
|
#7
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,191
|
|
|
|
10/13/2015, 07:22
|
#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?
|
|
|
10/13/2015, 16:06
|
#9
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,191
|
Quote:
Originally Posted by aiduko1
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.
|
|
|
10/13/2015, 16:44
|
#10
|
elite*gold: 0
Join Date: Jul 2015
Posts: 44
Received Thanks: 1
|
Quote:
Originally Posted by Spirited
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.
|
|
|
10/13/2015, 17:04
|
#11
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
|
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)
|
|
|
10/13/2015, 17:14
|
#12
|
elite*gold: 0
Join Date: Jul 2015
Posts: 44
Received Thanks: 1
|
Quote:
Originally Posted by pro4never
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.
|
|
|
10/13/2015, 17:23
|
#13
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
|
Quote:
Originally Posted by aiduko1
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.
|
|
|
10/13/2015, 17:31
|
#14
|
elite*gold: 0
Join Date: Jul 2015
Posts: 44
Received Thanks: 1
|
Quote:
Originally Posted by pro4never
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
|
|
|
10/13/2015, 20:52
|
#15
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 705
|
Did you forward it in your router?
|
|
|
 |
|
Similar Threads
|
[Question]Are these Homepages Public?
05/29/2015 - Metin2 Private Server - 6 Replies
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 possible.
http://i.imgur.com/WzD46BK.jpg
http://i.imgur.com/tgpa0An.png
http://i.imgur.com/Wfn5M9L.jpg
I can show proofs that I have these homepages fully.
|
[Question to the public] What do you want?
03/01/2012 - CO2 Private Server - 7 Replies
Before you criticize: I am attempting to develop a fun, interactive server for everyone who finds interest, I have no interest whatsoever to hear your negatives towards my idea. If you don't have something positive or encouraging to say, please be kind as to fuck off of this thread.
Besides a minimal amount of servers on the market nowadays, I am quite irritated. I really have minimal interest/experience in C#; hence, I am debating to open a binaries server that may catch your eyes. I know...
|
ECSRO public (question)
07/12/2009 - SRO Private Server - 1 Replies
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
|
All times are GMT +1. The time now is 20:36.
|
|