Pressure 8 Posted October 21, 2016 Report Share Posted October 21, 2016 (edited) I still get error connecting to server, I feel like I am over looking or thinking something... I know I am kinda trash at coding but, not THAT trash, let me go over what I have done. client.java server = Config.IP; public static String server = Config.IP; Then, over in Config.java (where the config.ip is getting directed to) public static final boolean LOCALHOST = true; (localhost is true) public static final String IP = LOCALHOST ? "127.0.0.1" : VPS_IP; (localhost true to local ip) public static final int PORT = 43594; (port is fine) WHAT AM I OVERTHINKING??? THINGS I HAVE TRIED: just making the public static final String IP = "127.0.0.1"; Same with server and public static String server equaling "127.0.0.1"; Edited October 21, 2016 by Pressure Link to comment Share on other sites More sharing options...
Mathy 344 Posted October 21, 2016 Report Share Posted October 21, 2016 Are you using Eclipse? Link to comment Share on other sites More sharing options...
Pressure 8 Posted October 21, 2016 Author Report Share Posted October 21, 2016 10 hours ago, Mathy said: Are you using Eclipse? did you really just ask me that. Link to comment Share on other sites More sharing options...
leclerc 112 Posted October 21, 2016 Report Share Posted October 21, 2016 btw, there's a tutorial. Link to comment Share on other sites More sharing options...
torque0 1 Posted July 24, 2017 Report Share Posted July 24, 2017 eclipse all the way Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now