Jump to content
  • 0
shershah1

Port forwarding doesn't work, need to connect in server.

Question

Hey,

i got a problem, my router has the port 43594 open but canyouseeme.org cannot see my device running. So i only putted port 43594 in settings.java, do i have to put somwhere else also port 43594? Beceause my other server does work, but another one not. Im using 718 revision so do i need to put 43594 in the server somwhere?


The client does connect to the server, and port 43594 is OPEN and my server cannot be found by canyouseeme.org
But my other server can be found here is proof:

This server is succes:
[url]http://i.gyazo.com/49fa9a16d519f2b77f17c0a17c6815ca.png[/url]

But this server doesn't work:
[url]http://i.gyazo.com/25cc1cdf253e918dfb6a29242dccc429.png[/url] Edited by shershah1

Share this post


Link to post
Share on other sites

17 answers to this question

Recommended Posts

  • 0
[quote name='shershah1']Hey,

i got a problem, my router has the port 43594 open but canyouseeme.org cannot see my device running. So i only putted port 43594 in settings.java, do i have to put somwhere else also port 43594? Beceause my other server does work, but another one not. Im using 718 revision so do i need to put 43594 in the server somwhere?[/QUOTE]

the server has nothing to do with opening your ports. You need to portforward 43594, and you need to open it in your firewall.

Share this post


Link to post
Share on other sites
  • 0
[quote name='falconpunch']the server has nothing to do with opening your ports. You need to portforward 43594, and you need to open it in your firewall.[/QUOTE]

I think you din't readed my full story, there is 1 server that does work. But that other one not. The other one doesn't get picked up by port 43594, yust if you don't beleave it here is proof:

[url]http://i.gyazo.com/562f92e8fe212ef735396d69c8839495.png[/url]
AND ANOTHER PROOF:
[url]http://i.gyazo.com/dda5b89641904763f82a4f44957d9595.png[/url]
and in my firewall exceptions for incomming and out comming port is on both with udp and tcp noted. Edited by shershah1

Share this post


Link to post
Share on other sites
  • 0
I'm beyond confused. The server looks like it's running fine, you should have no problem connecting to your server. If your ports not opened, then it's a problem with Portforwarding and your firewall.

Share this post


Link to post
Share on other sites
  • 0
[quote name='falconpunch']I'm beyond confused. The server looks like it's running fine, you should have no problem connecting to your server. If your ports not opened, then it's a problem with Portforwarding and your firewall.[/QUOTE]

You fail to realize that servers & clients specify a port to run on; they don't just all magically go to 43594.

Share this post


Link to post
Share on other sites
  • 0
[quote name='Hope']You fail to realize that servers & clients specify a port to run on; they don't just all magically go to 43594.[/QUOTE]

Yes, but he said he put it as 43594 in the settings in the client.

Share this post


Link to post
Share on other sites
  • 0
Not only do you need to "clear the path" to your server by (optionally) opening ports in your firewall and portforwarding them to the right routers/computers; you also have to make sure that on the server's end the server is listening on a specified port (43594) and that the client connects to that same port. If any of these requirements are not met it will NOT function.

Share this post


Link to post
Share on other sites
  • 0
[quote name='falconpunch']Yes, but he said he put it as 43594 in the settings in the client.[/QUOTE]

There does no settings.java excist in the client of a 718 revision RSPS. And i din't said in the client. It was in the server...

Share this post


Link to post
Share on other sites
  • 0
[quote name='shershah1']There does no settings.java excist in the client of a 718 revision RSPS. And i din't said in the client. It was in the server...[/QUOTE]

Actually, some 718 clients have a Settings in which basic settings are handled. It would be in the Loader generally, where you change the IP and port. You change nothing in the server to do with IP's or ports.

Share this post


Link to post
Share on other sites
  • 0
[quote name='falconpunch']Actually, some 718 clients have a Settings in which basic settings are handled. It would be in the Loader generally, where you change the IP and port. You change nothing in the server to do with IP's or ports.[/QUOTE]

I don't think so... You can see port 43594 is there, but still the server doesn't work and every port is opend on my router and firewall (i showed it)

[QUOTE]
import java.applet.Applet;


import javax.swing.*;


import java.awt.event.*;

import java.awt.BorderLayout;

import java.awt.Dimension;

import java.net.URL;

import java.util.Properties;


import javax.swing.JFrame;

import javax.swing.JPanel;



public class Loader extends Applet {



private static final long serialVersionUID = 7639088664641445302L;

public static final double VERSION = 1.2;

public static final String CLIENT_TITLE = "syclonepk";

public static final String FRAME_TITLE = "syclonepk| V"+VERSION+"";

public static final String SERVER_IP = "127.0.0.1";

public static final int SERVER_PORT = 43595;

public static final int REVISION = 718;

public static final int SUB_REVISION = 560;


public static final boolean LOBBY_ENABLED = true;

public static final boolean DISABLE_XTEA_CRASH = false;

public static final boolean DISABLE_USELESS_PACKETS = false;

public static final boolean DISABLE_RSA = false;

public static final boolean useIsaac = false;

public static final boolean usingRS = false;


public static Loader instance;



public static void main(String[] args) {

Loader loader = instance = new Loader();

loader.doFrame();

}



public void init() {

instance = this;

doApplet();

}



void doApplet() {

setParams();

startClient();

}



public void doFrame() {

setParams();

openFrame();

startClient();

}



public static Properties client_parameters = new Properties();

public JFrame client_frame;

public JPanel client_panel = new JPanel();


void setParams() {

client_parameters.put("separate_jvm", "true");
client_parameters.put("boxbgcolor", "black");
client_parameters.put("image", "http://www.runescape.com/img/game/splash2.gif");
client_parameters.put("centerimage", "true");
client_parameters.put("boxborder", "false");
client_parameters.put("java_arguments", "-Xmx256m -Xss2m -Dsun.java2d.noddraw=true -XX:CompileThreshold=1500 -Xincgc -XX:+UseConcMarkSweepGC -XX:+UseParNewGC");
client_parameters.put("27", "0");
client_parameters.put("1", "0");
client_parameters.put("16", "false");
client_parameters.put("17", "false");
client_parameters.put("21", "1"); // WORLD ID
client_parameters.put("30", "false");
client_parameters.put("20", SERVER_IP);
client_parameters.put("29", "");
client_parameters.put("11", "true");
client_parameters.put("25", "1378752098");
client_parameters.put("28", "0");
client_parameters.put("8", ".runescape.com");
client_parameters.put("23", "false");
client_parameters.put("32", "0");
client_parameters.put("15", "wwGlrZHF5gKN6D3mDdihco3oPeYN2KFybL9hUUFqOvk");
client_parameters.put("0", "IjGJjn4L3q5lRpOR9ClzZQ");
client_parameters.put("2", "");
client_parameters.put("4", "1"); // WORLD ID
client_parameters.put("14", "");
client_parameters.put("5", "8194");
client_parameters.put("-1", "QlwePyRU5GcnAn1lr035ag");
client_parameters.put("6", "0");
client_parameters.put("24", "true,false,0,43,200,18,0,21,354,-15,Verdana,11,0xF4ECE9,candy_bar_middle.gif,candy_bar_back.gif,candy_bar_outline_left.gif,candy_bar_outline_right.gif,candy_bar_outline_top.gif,candy_bar_outline_bottom.gif,loadbar_body_left.gif,loadbar_body_right.gif,loadbar_body_fill.gif,6");
client_parameters.put("3", "hAJWGrsaETglRjuwxMwnlA/d5W6EgYWx");
client_parameters.put("12", "false");
client_parameters.put("13", "0");
client_parameters.put("26", "0");
client_parameters.put("9", "77");
client_parameters.put("22", "false");
client_parameters.put("18", "false");
client_parameters.put("33", "");
client_parameters.put("haveie6", "false");
}

void openFrame() {
client_frame = new JFrame(FRAME_TITLE);
client_frame.setLayout(new BorderLayout());
client_panel.setLayout(new BorderLayout());
client_panel.add(this);
client_panel.setPreferredSize(new Dimension(765, 503));
client_frame.setMinimumSize(new Dimension(780, 542));
client_frame.getContentPane().add(client_panel, "Center");
client_frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
client_frame.pack();
client_frame.setVisible(true);
}

void startClient() {
try {
client clnt = new client();
clnt.supplyApplet(this);
clnt.init();
clnt.start();
//MusicChecker.check();
} catch (Exception exception) {
exception.printStackTrace();
}
}

public String getParameter(String string) {
return (String) client_parameters.get(string);
}

public URL getDocumentBase() {
return getCodeBase();
}

public URL getCodeBase() {
try {
return new URL("http://" + SERVER_IP);
} catch (Exception exception) {
exception.printStackTrace();
return null;
}
}

public static String getCacheDir() {
return System.getProperty("user.home") + "/Guardian718/guardian/live";
}

}

[/QUOTE]

Share this post


Link to post
Share on other sites
  • 0
Yust a suggestion should i do something at IpAdress.java?
Thanks ;)

Share this post


Link to post
Share on other sites

×