Thread: [PI]Connecting to a VPS[PI]

Results 1 to 6 of 6
  1. #1 [PI]Connecting to a VPS[PI] 
    Registered Member
    Join Date
    Oct 2010
    Posts
    4
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    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() {"
    server = "17x.xxx.xxx.69";
    Ran the server on the VPS.
    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!
    Reply With Quote  
     

  2. #2  
    Registered Member Santi Cazorla's Avatar
    Join Date
    Aug 2009
    Posts
    1,137
    Thanks given
    258
    Thanks received
    55
    Rep Power
    7
    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.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Oct 2010
    Posts
    4
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    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.
    Reply With Quote  
     

  4. #4  
    Member

    Join Date
    Nov 2008
    Age
    27
    Posts
    4,859
    Thanks given
    774
    Thanks received
    341
    Rep Power
    0
    Try


    Code:
    @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
    as your run.bat
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Oct 2010
    Posts
    4
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    That's what my run.bat currently is, and the issue is still occuring.
    Can anyone help.
    Reply With Quote  
     

  6. #6  
    Donator

    Arithium's Avatar
    Join Date
    May 2010
    Age
    31
    Posts
    4,721
    Thanks given
    199
    Thanks received
    1,256
    Rep Power
    1114
    your obviously not portforwarded, or your not using the right ip in your server, show us your server.java
    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. Connecting
    By viralscape in forum Help
    Replies: 0
    Last Post: 08-03-2010, 10:24 PM
  2. Need help with connecting.
    By Sweets in forum Help
    Replies: 3
    Last Post: 02-06-2010, 08:42 PM
  3. 554 connecting
    By Aza in forum Help
    Replies: 0
    Last Post: 10-15-2009, 02:10 AM
  4. Little bit help with connecting
    By blje lv in forum Help
    Replies: 0
    Last Post: 05-30-2009, 08:55 PM
  5. Connecting help
    By range pka in forum Help
    Replies: 2
    Last Post: 04-11-2009, 04:45 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
  •