Jump to content

Question

Posted

Title: Failed to connect to server

Version: 3.1.2

OS: Windows 7 home premium 64bit

Java Version: Java 7 update 9, 32 and 64bit installed

Description of Problem:

I am attempting to run my 3.1.2 tekkit server but cannot connect. I can run the server and connect on a different computer but not on the one the server is running on.

Error Messages:

java.net.socketexception: permision denied: connect

Error Log:


 

Recommended Posts

  • 0
Posted

When i attempted to connect to local host i got "Failed to connect to server" "Connection refused: connect"

Any idea?

Last time I got "Connection refused: connect" is when for some reason I needed to add the port after it.

Try 'localhost:YOURPORT'.

'YOURPORT' should be the port your server is running on.

You can find this by looking in server.properties (open with Notepad).

  • 0
Posted

Last time I got "Connection refused: connect" is when for some reason I needed to add the port after it.

Try 'localhost:YOURPORT'.

'YOURPORT' should be the port your server is running on.

You can find this by looking in server.properties (open with Notepad).

I tried that and again i got the same results.

  • 0
Posted

You mean using something like hamachi because that's what my server is running on?

Nonono, your external IP address. Open Command Prompt and type in 'ipconfig'. The 'IPv4 address' is your external IP. Try connecting to that.

  • 0
Posted

Nonono, your external IP address. Open Command Prompt and type in 'ipconfig'. The 'IPv4 address' is your external IP. Try connecting to that.

That's another thing, my ipconfig doesn't work, it says 'ipconfig' is not recognized as an internal or external command, operable program or batch file.

I've only had the computer a couple of days, yet so many problems occurring.

  • 0
Posted

Okay, now follow these steps.

  1. Open start menu, open Computer, open C:\Windows\system32
  2. If you are on Windows 7 or Vista, click the bar at the top and select all the text and copy it
  3. Open start menu, right-click Computer, click Properties, click Advanced System Settings then click Environment Variables
  4. Under 'System variables' find Path. Click on it then click Edit
  5. If there is text already in value, add a ';' to the end. If not, skip this step
  6. In the box (or after the ';' if you done the previous step), paste
  7. Open Command Prompt and try typing ipconfig again.
  • 0
Posted

Under the PATH i have this after adding the semi colon ( ; ), C:\Program Files\Java\jre7\bin;

But my ipconfig still doesn't work even if i run cmd as an admin.

oops sorry, i miss understood

It does work thank you, i now have ipconfig working. Thank you very much.

  • 0
Posted

Okay, now follow these steps.

  1. Open start menu, open Computer, open C:\Windows\system32
  2. If you are on Windows 7 or Vista, click the bar at the top and select all the text and copy it
  3. Open start menu, right-click Computer, click Properties, click Advanced System Settings then click Environment Variables
  4. Under 'System variables' find Path. Click on it then click Edit
  5. If there is text already in value, add a ';' to the end. If not, skip this step
  6. In the box (or after the ';' if you done the previous step), paste
  7. Open Command Prompt and try typing ipconfig again.

Now that's fixed the server is still not working. :/

  • 0
Posted

permission denied and connection refused shows that something is activly shuting down the connection or forcefully closing the port, that points to either a firewall or av program that is doing it

double check the port setting for the server in server properties and add it to the at the end of the ip when trying to connect, and dont use localhost use 127.0.0.1:port if you are running it on the same machine

  • 0
Posted

permission denied and connection refused shows that something is activly shuting down the connection or forcefully closing the port, that points to either a firewall or av program that is doing it

double check the port setting for the server in server properties and add it to the at the end of the ip when trying to connect, and dont use localhost use 127.0.0.1:port if you are running it on the same machine

So how do i add the port to the end i tried ;25565 but that didn't do anything it said unknown host.

  • 0
Posted

I tried it with my laptop yesterday and it connected, so yeah.

I did actually connect on this computer at one point, when i first made the server i tried it and it worked, but i never actually played it.

That probably just confuses things further but yeah.

  • 0
Posted

It's your antivirus and firewall then.

You may have Windows Firewall on. Here's how to turn it off: http://windows.microsoft.com/en-GB/windows-vista/Turn-Windows-Firewall-on-or-off

  • 0
Posted

It's your antivirus and firewall then.

You may have Windows Firewall on. Here's how to turn it off: http://windows.microsoft.com/en-GB/windows-vista/Turn-Windows-Firewall-on-or-off

I turned both my firewall and BullGuard AV off and that did not do anything i still got the same message, so i've reactivated them.

  • 0
Posted

I turned both my firewall and BullGuard AV off and that did not do anything i still got the same message, so i've reactivated them.

Open server.properties and paste the entire file?

  • 0
Posted

Okay, here you go.

#Minecraft server properties

#Fri Nov 30 15:39:13 GMT 2012

allow-nether=true

level-name=Tekkit1

enable-query=false

allow-flight=true

server-port=25565

level-type=DEFAULT

enable-rcon=false

level-seed=

server-ip=25.167.88.10

max-build-height=256

spawn-npcs=true

white-list=false

spawn-animals=true

online-mode=true

pvp=fasle

difficulty=1

gamemode=0

max-players=5

spawn-monsters=true

generate-structures=true

view-distance=10

motd=A Minecraft Server

  • 0
Posted

Okay, here you go.

#Minecraft server properties

#Fri Nov 30 15:39:13 GMT 2012

allow-nether=true

level-name=Tekkit1

enable-query=false

allow-flight=true

server-port=25565

level-type=DEFAULT

enable-rcon=false

level-seed=

server-ip=25.167.88.10

max-build-height=256

spawn-npcs=true

white-list=false

spawn-animals=true

online-mode=true

pvp=fasle

difficulty=1

gamemode=0

max-players=5

spawn-monsters=true

generate-structures=true

view-distance=10

motd=A Minecraft Server

You should delete the IP you set after the server-ip=

Then try launching the server and connecting again.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...