External can't connect now *please help*

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
kutt
Posts: 49
Joined: Sat Mar 08, 2014 1:47 am
Location: USA

External can't connect now *please help*

Post by kutt »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision 6445:
L2JDP Revision 9641:

-------------------------------------------------------------------------------------------------------------------------------

I had everything working yesterday Locally and Externally. However, I had to unplug the router to move it and when i plugged it in my local machine's IP had changed from 109 to 113.

I made the changes where I thought they were needed and I can log in from my Local Machine, but no one else can connect to my server. Any suggestions? does it look like anything could be configured wrong?

(I'm only posting here again because I have spent 6 hours trying to figure this out. It has to be something with the LoginServer.properties, Server.properties, or the ipconfig.xml right?)
Capture.JPG
Please and thank you.
You do not have the required permissions to view the files attached to this post.
JMD
Advanced User
Advanced User
Posts: 1440
Joined: Wed Apr 15, 2009 10:07 am

Re: External can't connect now *please help*

Post by JMD »

Most likely you have to reopen your ports. Somehow the lan ip change must have messed it up.
kutt
Posts: 49
Joined: Sat Mar 08, 2014 1:47 am
Location: USA

Re: External can't connect now *please help*

Post by kutt »

JMD wrote:Most likely you have to reopen your ports. Somehow the lan ip change must have messed it up.

That was my initial guess too, so I went to my windows firewall and my ports 2106 and 7777 were still being forwarded.

then I went to my router and checked to see if the ports were still being forwarded, and they were.

So I'm still not sure of the cause of my problem :(
User avatar
foxmulder
Posts: 19
Joined: Tue Feb 25, 2014 2:17 pm
Location: Sweden

Re: External can't connect now *please help*

Post by foxmulder »

how did you get server id 1 to work? lol
kutt
Posts: 49
Joined: Sat Mar 08, 2014 1:47 am
Location: USA

Re: External can't connect now *please help*

Post by kutt »

foxmulder wrote:how did you get server id 1 to work? lol
I just went to the game server configuration and chose Bartz? Idk I guess, just did what I thought was right.
kutt
Posts: 49
Joined: Sat Mar 08, 2014 1:47 am
Location: USA

Re: External can't connect now *please help*

Post by kutt »

*bump*

External users still can't connect to my server after my machine change. Can someone tell me what places of the files I'd have to edit if my local machines IP changed?
User avatar
HappyLDE
Posts: 123
Joined: Tue Sep 10, 2013 6:22 pm
Location: Belgium
Contact:

Re: External can't connect now *please help*

Post by HappyLDE »

You need ipconfig.xml in gameserver/config folder:

ipconfig.xml

Code: Select all

<?xml version="1.0" encoding="UTF-8"?> <!-- Externalhost here (Internet IP) or Localhost IP for local test --> <gameserver address="87.67.199.74" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ipconfig.xsd">     <!-- Localhost here -->     <define subnet="127.0.0.0/8" address="127.0.0.1" />     <!-- Internalhosts here (LANs IPs) -->     <define subnet="10.0.0.0/8" address="10.0.0.0" />     <define subnet="172.16.0.0/19" address="172.16.0.0" />     <define subnet="192.168.0.0/16" address="192.168.0.0" /> </gameserver> 
ipconfig.xsd

Code: Select all

<?xml version="1.0" encoding="UTF-8"?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">    <xs:element name="gameserver">        <xs:complexType>            <xs:sequence minOccurs="1" maxOccurs="1">                <xs:element name="define" minOccurs="1" maxOccurs="unbounded">                    <xs:complexType>                        <xs:attribute name="address" use="required">                            <xs:simpleType>                                <xs:restriction base="xs:token">                                    <xs:pattern value="(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)|[.]?.*[.x][a-z]{2,3}" />                                </xs:restriction>                            </xs:simpleType>                        </xs:attribute>                        <xs:attribute name="subnet" use="required">                            <xs:simpleType>                                <xs:restriction base="xs:token">                                    <xs:pattern value="(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?/\d+)|(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)|[.]?.*[.x][a-z]{2,3}" />                                </xs:restriction>                            </xs:simpleType>                        </xs:attribute>                    </xs:complexType>                </xs:element>            </xs:sequence>            <xs:attribute name="address" use="required">                <xs:simpleType>                    <xs:restriction base="xs:token">                        <xs:pattern value="(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)|[.]?.*[.x][a-z]{2,3}" />                    </xs:restriction>                </xs:simpleType>            </xs:attribute>        </xs:complexType>    </xs:element></xs:schema>
Thank you for making L2JServer happen! :D
"If you believe you will fail or succeed, in both ways you are right." - Henry Ford
kutt
Posts: 49
Joined: Sat Mar 08, 2014 1:47 am
Location: USA

Re: External can't connect now *please help*

Post by kutt »

That did not resolve the issue :(
User avatar
HappyLDE
Posts: 123
Joined: Tue Sep 10, 2013 6:22 pm
Location: Belgium
Contact:

Re: External can't connect now *please help*

Post by HappyLDE »

You did set your external ip in the ipconfig.xml? Also test the reach of the ports 2106 and 7777 from here (when loginserver and gameserver are running):
http://www.yougetsignal.com/tools/open-ports/
Thank you for making L2JServer happen! :D
"If you believe you will fail or succeed, in both ways you are right." - Henry Ford
kutt
Posts: 49
Joined: Sat Mar 08, 2014 1:47 am
Location: USA

Re: External can't connect now *please help*

Post by kutt »

I have my IP set in ipconfig.xml

I ran this site with login and game servers running for 2106 and 7777 but both say "closed".

My router and windows firewall both have portforwarding on for these 2 though.
User avatar
HappyLDE
Posts: 123
Joined: Tue Sep 10, 2013 6:22 pm
Location: Belgium
Contact:

Re: External can't connect now *please help*

Post by HappyLDE »

So there you have it, your ports are closed. I suppose windows 7? Try to turn off your firewall etc to see.
Thank you for making L2JServer happen! :D
"If you believe you will fail or succeed, in both ways you are right." - Henry Ford
kutt
Posts: 49
Joined: Sat Mar 08, 2014 1:47 am
Location: USA

Re: External can't connect now *please help*

Post by kutt »

HappyLDE wrote:So there you have it, your ports are closed. I suppose windows 7? Try to turn off your firewall etc to see.

Thank you very much for this. Everything is working again, finally. You have been most helpful.

The solution was that when my IP address switched, the IPv6 didn't get updated...sooo yeah...
Post Reply