it wont work if you try connecting to the server on the vps it self.
127.0.0.1 = what you use if you want to connect to the server using the vps
vps ip = so other people can connect to it.
|
Hey everybody. I downloaded SplitScape and been working on it for a while now. I purchased a vps and hosted the server on it.
My server and client are both SplitScape.
I've changed the IP in client.java:
Under "public client() {"
Ran the server on the VPS.server = "17x.xxx.xxx.69";
Compiled, ran and I could not login.
When server = "127.0.0.1"; and I host the server locally, I can connect with no issues.
Is there anything I have to configure server-side or on the vps for the client to connect?
Thanks!
it wont work if you try connecting to the server on the vps it self.
127.0.0.1 = what you use if you want to connect to the server using the vps
vps ip = so other people can connect to it.
I mean, the server is running on the vps. I put the ip of the vps in a client ON my computer, and I can't connect to the vps from my computer, which means no other players can.
Try
as your run.batCode:@echo off title java -Xmx800m -cp bin;deps/poi.jar;deps/mysql.jar;deps/mina.jar;deps/slf4j.jar;deps/slf4j-nop.jar;deps/jython.jar;log4j-1.2.15.jar; server.Server pause
That's what my run.bat currently is, and the issue is still occuring.
Can anyone help.
your obviously not portforwarded, or your not using the right ip in your server, show us your server.java
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |