• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Minecraft saying "java.net connectexception connection refused"

Scheduled Pinned Locked Moved Firewalling
4 Posts 4 Posters 1.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    complete
    last edited by Oct 2, 2015, 9:37 PM

    Hi Everyone,

    I'm new to PF Sense and am learning the in's and out's of setting up the firewall here at my new job.

    I have a member here who said he's trying to play minecraft off the minecraft servers. He keeps getting the error "java.net connectexception connection refused"

    This is my first time making a rule so assume I could have done this wrong… but it seems right.

    I logged into PF Sense, went to firewall -> aliases. Then I made an alias for the Minecraft port numbers 54033 and 25565 which is what I got when googling WAN ports that minecraft uses.

    Then I went into Rules and made a floating rule w/ the action: pass and then source/destination are both "any". Finally, the source port range is set to the alias I mentioned above for the port #'s of minecraft.

    See attached image for how it's setup.

    I saved and it didn't work. Can anyone let me know what I'm missing here? From reading other forums, I thought minecraft would pass by default.

    ![Screen Shot 2015-10-02 at 2.36.04 PM.png](/public/imported_attachments/1/Screen Shot 2015-10-02 at 2.36.04 PM.png)
    ![Screen Shot 2015-10-02 at 2.36.04 PM.png_thumb](/public/imported_attachments/1/Screen Shot 2015-10-02 at 2.36.04 PM.png_thumb)

    1 Reply Last reply Reply Quote 0
    • C
      Carreswag
      last edited by Oct 5, 2015, 6:59 PM

      So he wants to play on a server and gets disconnected? pfsense shouldnt have this issue, games worked fine behind it for me. Have you tried a different minecraft server?

      1 Reply Last reply Reply Quote 0
      • M
        muswellhillbilly
        last edited by Oct 7, 2015, 3:17 PM

        All protocols are allowed out from the LAN to the WAN, so there should be no need to add specific ports. The likely cause is almost certainly either his client or the target server. Apart from trying other Minecraft servers, has he tried running this behind a different firewall elsewhere?

        1 Reply Last reply Reply Quote 0
        • D
          Derelict LAYER 8 Netgate
          last edited by Oct 7, 2015, 3:55 PM

          There is nothing in the default pfSense config that will prevent Minecraft from working from the LAN out.

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received