Thread: Trouble hosting 876 RSPS

Results 1 to 5 of 5
  1. #1 Trouble hosting 876 RSPS 
    Registered Member
    Join Date
    Nov 2019
    Posts
    5
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    I am desperate now.

    I can connect locally fine. But when I try to host it on my PC so others can join it won't work. I have portforwarded successfully.



    I tried every possible combination of IP addresses. This is how I have it currently in Settings.java

    Spoiler for Here:
    public static final String VPS1_IP = HOSTED ? "192.168.0.158"
    : "127.0.0.1";

    private static final String MASTER_IP = "192.168.0.158";


    public static final InetSocketAddress GAME_ADDRESS_BASE = new InetSocketAddress(
    Settings.HOSTED ? "192.168.0.158" : "127.0.0.1", 43593);


    static void init() {
    LOGIN_SERVER_ADDRESS_BASE = new InetSocketAddress(
    HOSTED ? "192.168.0.158" : "127.0.0.1", 7777);
    LOGIN_CLIENT_ADDRESS_BASE = new InetSocketAddress(
    HOSTED ? "192.168.0.158" : "127.0.0.1", 7778);

    WORLDS_INFORMATION = new WorldInformation[] {
    new WorldInformation(1, 0, "World1", 0, 0x2 | 0x8, "Nocturne ", "192.168.0.158", 100),
    new WorldInformation(2, 0, "World2", 0, 0x2 | 0x8, "Nocturne ", VPS1_IP, 100),};


    And this is GameWorld.java

    public GameWorld(WorldInformation information) {
    this.information = information;
    this.loginAddress = new InetSocketAddress(
    Settings.HOSTED ? information.getIp() : "192.168.0.158",
    Settings.LOGIN_CLIENT_ADDRESS_BASE.getPort()
    + information.getId());

    Please help
    Reply With Quote  
     

  2. #2  
    Owner of Zerion
    robstever's Avatar
    Join Date
    Jun 2013
    Posts
    132
    Thanks given
    35
    Thanks received
    15
    Rep Power
    48
    PM me on discord pancakepal #4318
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Nov 2014
    Posts
    38
    Thanks given
    16
    Thanks received
    26
    Rep Power
    95
    Use your external IP not your local IP address.
    Reply With Quote  
     

  4. #4  
    Registered Member
    X Decisive's Avatar
    Join Date
    Aug 2014
    Posts
    39
    Thanks given
    9
    Thanks received
    37
    Rep Power
    80
    change 127.0.0.1 in all files its registered like that and change that to your server ip: "127.0.0.1" to "Myserverip.whaterverthehell.yeeeeboi"

    also make sure ports are set and you portfowarded, most servers run off 43495 and then just set the next one to like 43596 or something just cant be the same
    X Decisive - Runescape and RSPS Veteran
    HAPPYPKSCAPE z525 UNDERCONSTRUCTION
    Reply With Quote  
     

  5. #5  
    Registered Member
    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,484
    Thanks given
    603
    Thanks received
    617
    Rep Power
    274
    Have you tried getting your friend to do a simple ping of your server? It's possible on cmd with ping or telnet I believe. This will tell you once and for all if you've port forwarded correctly.
    Project thread
    [Only registered and activated users can see links. ]
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. How do you host a rsps on a linux vps
    By pretzel in forum Chat
    Replies: 1
    Last Post: 08-18-2010, 06:13 PM
  2. How do you host a rsps on a linux vps
    By pretzel in forum Help
    Replies: 0
    Last Post: 08-18-2010, 07:21 AM
  3. Hosting Any RSPS
    By james2594 in forum Hosting
    Replies: 6
    Last Post: 08-07-2010, 11:44 PM
  4. Hosting your RSPS Cheap!
    By zhwack in forum Hosting
    Replies: 3
    Last Post: 03-31-2010, 07:30 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •