Well i was having a problem with this and finally found it out so i thought this would help out a lot of new users using battlescape source (sometimes even experienced users seems how tons of people i asked couldnt find it out.
Ok instead of using the port that comes with it (43676)
You can be using port 43594
Ok first of all open up the source
Click Server.java (the notepad that said Server)
Hold down Ctrl(button on the south west on your keyboard) and f at the same time
in the search bar type
Code:
public final int SERVER_PORT =
you should see port 43676 after that equal sign
Replace it with 43594
Congratulations server sided port changing done.
Time for the client side.
Ok first up open the Client
And go to client.java (the notepad that sais client and under it java file)
hold down the button ctrl (button on the South west of the keyboard) and f (at the same time)
Type:
Press Ok
you should see a line similar to this
Code:
return new URL("http://127.0.0.1:" + (80));
(the 127.0.0.1 can be varyied depending on whose battlescape source you are using.
replace it with
Code:
return new URL("http://TYPE YOUR SERVER HERE!:");
And where it sais type your server here change it with your server.
Thanks hope this helps and if it did help click the button that sais Reputation
And click yes. Thanks for reading my first snippit