Mythruna

General Category => Tech Support => Topic started by: Michael on January 06, 2013, 06:47:24 PM



Title: My Friend Cannot Connect to Servers (Windows 8)
Post by: Michael on January 06, 2013, 06:47:24 PM
This error is generated for any server he tries to connect to:

Quote
Uncaught exception from thread:Thread[LWJGL Renderer Thread,5,main]
java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine
   at java.net.DualStackPlainSocketImpl.connect0(Native Method)
   at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
   at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
   at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
   at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
   at java.net.PlainSocketImpl.connect(Unknown Source)
   at java.net.SocksSocketImpl.connect(Unknown Source)
   at java.net.Socket.connect(Unknown Source)
   at java.net.Socket.connect(Unknown Source)
   at java.net.Socket.<init>(Unknown Source)
   at java.net.Socket.<init>(Unknown Source)
   at com.jme3.network.kernel.tcp.SocketConnector.<init>(SocketConnector.java:66)
   at com.jme3.network.Network.connectToServer(Network.java:166)
   at com.jme3.network.Network.connectToServer(Network.java:142)
   at mythruna.client.net.LoginClient.<init>(LoginClient.java:57)
   at mythruna.client.MainMenuState.connect(MainMenuState.java:194)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at de.lessvoid.nifty.NiftyMethodInvoker.callMethod(NiftyMethodInvoker.java:145)
   at de.lessvoid.nifty.NiftyMethodInvoker.performInvoke(NiftyMethodInvoker.java:108)
   at de.lessvoid.nifty.Nifty$DelayedMethodInvoke.perform(Nifty.java:1176)
   at de.lessvoid.nifty.Nifty.invokeMethods(Nifty.java:1154)
   at de.lessvoid.nifty.Nifty.handleDynamicElements(Nifty.java:312)
   at de.lessvoid.nifty.Nifty.access$1500(Nifty.java:73)
   at de.lessvoid.nifty.Nifty$NiftyInputConsumerImpl.processEvent(Nifty.java:1371)
   at de.lessvoid.nifty.Nifty$NiftyInputConsumerImpl.processMouseEvent(Nifty.java:1329)
   at com.jme3.niftygui.InputSystemJme.onMouseButtonEventQueued(InputSystemJme.java:161)
   at com.jme3.niftygui.InputSystemJme.forwardEvents(InputSystemJme.java:236)
   at de.lessvoid.nifty.Nifty.update(Nifty.java:248)
   at com.jme3.niftygui.InputSystemJme.endInput(InputSystemJme.java:92)
   at com.jme3.input.InputManager.processQueue(InputManager.java:787)
   at com.jme3.input.InputManager.update(InputManager.java:851)
   at com.jme3.app.Application.update(Application.java:605)
   at com.jme3.app.SimpleApplication.update(SimpleApplication.java:233)
   at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:149)
   at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:182)
   at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:223)
   at java.lang.Thread.run(Unknown Source)

Build version:20120627

Memory usage:
Working memory: 81% (15452928/18898944)  VM Max: 2% (15452928/518979584)

Rendering caps:
    FrameBuffer
    FrameBufferMRT
    FrameBufferMultisample
    TextureMultisample
    OpenGL20
    OpenGL21
    OpenGL30
    OpenGL31
    OpenGL32
    ARBprogram
    GLSL100
    GLSL110
    GLSL120
    GLSL130
    GLSL140
    GLSL150
    VertexTextureFetch
    TextureArray
    TextureBuffer
    FloatTexture
    FloatColorBuffer
    FloatDepthBuffer
    PackedFloatTexture
    SharedExponentTexture
    PackedFloatColorBuffer
    TextureCompressionLATC
    NonPowerOfTwoTextures
    MeshInstancing
    VertexBufferArray

Statistics:
  Vertices = 460
  Triangles = 230
  Uniforms = 110
  Objects = 58
  Shaders (S) = 15
  Shaders (F) = 6
  Shaders (M) = 6
  Textures (S) = 15
  Textures (F) = 12
  Textures (M) = 14
  FrameBuffers (S) = 5
  FrameBuffers (F) = 4
  FrameBuffers (M) = 4
Application settings:
UseInput = true
AudioRenderer = LWJGL
Height = 720
Renderer = LWJGL-OpenGL2
BitsPerPixel = 24
Fullscreen = false
StencilBits = 0
DepthBits = 24
VSync = false
Frequency = -1
Width = 1280
Samples = 0
DisableJoysticks = true
FrameRate = -1

Display adapter information:
Adapter:nvd3dumx,nvwgf2umx,nvwgf2umx
Driver Version:null
Vendor:NVIDIA Corporation
Version:4.2.0
Renderer:GeForce GTX 660M/PCIe/SSE2
GLSL Ver:4.20 NVIDIA via Cg compiler

His computer is new, he does not have any problem with graphics on single player, and it works fine for minecraft. I have asked him to reset his router and stuff. Even when he wanted to make his own server before, it did not work and I told him the steps.


Title: Re: My Friend Cannot Connect to Servers (Windows 8)
Post by: pspeed on January 06, 2013, 06:56:23 PM
Sounds like firewall problems, to me.  When you say "Minecraft works" do you mean he can run a Minecraft server and connect to it?  Otherwise, that's entirely irrelevant information.


Title: Re: My Friend Cannot Connect to Servers (Windows 8)
Post by: Sean on January 06, 2013, 07:03:01 PM
Tell him to open the necessary ports... Or tell him to install a usable operation system ^_^


Title: Re: My Friend Cannot Connect to Servers (Windows 8)
Post by: Michael on January 06, 2013, 10:01:30 PM
Sounds like firewall problems, to me.  When you say "Minecraft works" do you mean he can run a Minecraft server and connect to it?  Otherwise, that's entirely irrelevant information.
I mean he can connect to minecraft servers.


Title: Re: My Friend Cannot Connect to Servers (Windows 8)
Post by: Moonkey on January 06, 2013, 10:04:39 PM
Sounds like firewall problems, to me.  When you say "Minecraft works" do you mean he can run a Minecraft server and connect to it?  Otherwise, that's entirely irrelevant information.
I mean he can connect to minecraft servers.
It's a problem on your side. Either you ported wrong or you need to disable your firewall. (Sometimes you need to do that with some games. Or you can allow the game to bypass the firewall)


Title: Re: My Friend Cannot Connect to Servers (Windows 8)
Post by: Michael on January 06, 2013, 10:22:47 PM
Sounds like firewall problems, to me.  When you say "Minecraft works" do you mean he can run a Minecraft server and connect to it?  Otherwise, that's entirely irrelevant information.
I mean he can connect to minecraft servers.
It's a problem on your side. Either you ported wrong or you need to disable your firewall. (Sometimes you need to do that with some games. Or you can allow the game to bypass the firewall)
I said 'any server' he cannot connect to my mythruna server (i have had many friends connect to my mythruna server), but he has connected to my MC server. He cannot connect to the mythruna public server either. His internet provider he informed me is only for his city so that could be interfearing...


Title: Re: My Friend Cannot Connect to Servers (Windows 8)
Post by: pspeed on January 06, 2013, 11:06:21 PM
Can he ping your server's host address?


Title: Re: My Friend Cannot Connect to Servers (Windows 8)
Post by: G1ZMO on January 07, 2013, 01:01:14 PM
He may well be able to connect to a minecraft server but that'd be a different (port 25565 for minecraft i believe)
He may also need to manually open port 4234 to TCP and UDP traffic on his firewall


Title: Re: My Friend Cannot Connect to Servers (Windows 8)
Post by: Sean on January 07, 2013, 01:16:58 PM
He may well be able to connect to a minecraft server but that'd be a different (port 25565 for minecraft i believe)
He may also need to manually open port 4234 to TCP and UDP traffic on his firewall
Yep, that makes sense if he can't access Paul's server.


Title: Re: My Friend Cannot Connect to Servers (Windows 8)
Post by: pspeed on January 07, 2013, 02:00:21 PM
4234-4237 to be precise.

You can also try setting up your server on a different port, etc... like the Minecraft port... and see if that lets him in.  Then you will know for sure it is something clamping that port down on his machine or ISP.