Did you portforward?
Is your firewall blocking the connection? (Add an exception)
Virus scanner? (Try disabling)
|
first post
hey guys i set my rsps server up and it works with localhost.
now i wanna get it online for other players but it dont connects to the server
in the client.java file are this codes i copie it in here
public Sprite magicAuto;
public boolean autoCast = false;
private int autocastId = 0;
public int MapX, MapY;
public static int spellID = 0;
public static String defaultserverip = "omegascape.ddns.net"; <--- i changed here my ip is this right?
public static String serverip = ""+defaultserverip+""; <--- must i set here my ip??
public static int port = 43594;
and this
}
public void WhatWorldIsWhatIp () {
if(world == 1){
serverip = "0.0.0.0";
port = 43594;
} else {
if(world == 2){
serverip = "0.0.0.0";
port = 43594;
}
}
}
and this
if(world > 1){ // Makes sure you can only go to 2 worlds.
world = 1;
}else{
world += 1;
}
if(world == 2){
serverip = "0.0.0.0";
port = 43594;
spec =" Regular World";
signlink.setuid();
} else {
if(world == 1){
serverip = "0.0.0.0";
port = 43594;
signlink.setuid();
spec =" @red@Developers World";
}
}
if(world < 0 || world > 7)
spec = " Invalid world";
and this
//handleStupidWorldSwitch();
world = 1;
spec =" Regular World";
serverip = "0.0.0.0";
port = 43594;
signlink.setuid();
i dont know what i must type in all of these in ((
please help me
Did you portforward?
Is your firewall blocking the connection? (Add an exception)
Virus scanner? (Try disabling)
change "serverip = "0.0.0.0";" to your servers ip -> serverip = "omegascape.ddns.net" (replace all 0.0.0.0 with omegascape.ddns.net) and compile it
then make sure portforwarded correctly, should you have questions pm me
@ thrallx
ye i called telekom and i have the port installed and telekom said thats ok how i did that.
but canyouseeme.org or other tools say the port is closed
i tryed do stop windows defender and antivirus but the port is closed
@ champagne can i send u the orginal java client file from the base and u put in the ips?
i put it on mediafire the client.java
client
@i am live
where do it put the code?
when i wanna compile the clientin eclipse it says
javac: file not found: src\*.java
Usage: javac <options> <source files>
use -help for a list of possible options
Drücken Sie eine beliebige Taste . . .
Don't forget your firewall can block connections, so disable it or make exception.
i gave the port 43594 an exception in windows defender
i portforwarded the router
and i changed all 0.0.0.0 ips in client to my no-ip
but always dont connect (((
i got this error in source starting by eclipse
[07.03.17 20:11]: Exception in thread "main" [07.03.17 20:11]: org.jboss.netty.channel.ChannelException: Failed to bind to: 0.0.0.0/0.0.0.0:43594
[07.03.17 20:11]: at org.jboss.netty.bootstrap.ServerBootstrap.bind(Ser verBootstrap.java:303)
[07.03.17 20:11]: at server.Server.bind(Server.java:160)
[07.03.17 20:11]: at server.Server.main(Server.java:215)
[07.03.17 20:11]: Caused by: java.net.BindException: Address already in use: bind
[07.03.17 20:11]: at sun.nio.ch.Net.bind0(Native Method)
[07.03.17 20:11]: at sun.nio.ch.Net.bind(Unknown Source)
[07.03.17 20:11]: at sun.nio.ch.Net.bind(Unknown Source)
[07.03.17 20:11]: at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
[07.03.17 20:11]: at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
[07.03.17 20:11]: at org.jboss.netty.channel.socket.nio.NioServerSocket PipelineSink.bind(NioServerSocketPipelineSink.java :148)
[07.03.17 20:11]: at org.jboss.netty.channel.socket.nio.NioServerSocket PipelineSink.handleServerSocket(NioServerSocketPip elineSink.java:100)
[07.03.17 20:11]: at org.jboss.netty.channel.socket.nio.NioServerSocket PipelineSink.eventSunk(NioServerSocketPipelineSink .java:74)
[07.03.17 20:11]: at org.jboss.netty.channel.Channels.bind(Channels.jav a:468)
[07.03.17 20:11]: at org.jboss.netty.channel.AbstractChannel.bind(Abstr actChannel.java:192)
[07.03.17 20:11]: at org.jboss.netty.bootstrap.ServerBootstrap$Binder.c hannelOpen(ServerBootstrap.java:348)
[07.03.17 20:11]: at org.jboss.netty.channel.Channels.fireChannelOpen(C hannels.java:176)
[07.03.17 20:11]: at org.jboss.netty.channel.socket.nio.NioServerSocket Channel.<init>(NioServerSocketChannel.java:85)
[07.03.17 20:11]: at org.jboss.netty.channel.socket.nio.NioServerSocket ChannelFactory.newChannel(NioServerSocketChannelFa ctory.java:142)
[07.03.17 20:11]: at org.jboss.netty.channel.socket.nio.NioServerSocket ChannelFactory.newChannel(NioServerSocketChannelFa ctory.java:90)
[07.03.17 20:11]: at org.jboss.netty.bootstrap.ServerBootstrap.bind(Ser verBootstrap.java:282)
[07.03.17 20:11]: ... 2 more
or can be the client coded only for localhost? why the client i downloaded was called localhost v5.1
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |