55
Minecraft / Mods

PortMiner 5.2 - Create public servers without portforwarding

Collectable

PortMiner

  • 29,068
    Views, 52 today
  • 5,670
    Downloads, 2 today

Get Embed Codes

Forum:
HTML:
Link:
avatar
smithy21200
Level 36 : Artisan Engineer
22
Open for suggestions! Post them in the comments if you have any.
Please note PortMiner is compatible with all Minecraft versions, regardless of what the Game Version is shown as on PMC.

NOTE WITH PORTMINER 5.2 That unless you manually copy your properties files to a folder called PortMiner in %appdata% (for Windows), your PortMiner's old settings will be lost, and a new file will be generated instead.

USAGE INSTRUCTIONS ON THE WIKI (CLICK HERE)

Direct Download Link (No advertisments)
PortMiner on GitHub

NEW: Do you use Bukkit or Spigot? Try the PortMiner Plugin for Bukkit/Spigot 1.11, just drag and drop the plugin into your server's plugin folder and run!

What does this do?
PortMiner lets you create public servers, that people can connect to externally without the need for portforwarding or Hamachi. This is because some people either can't portforward or don't wish to.

How does it work?
PortMiner uses Universal Plug and Play to make port mappings on your router. You are the host of the server, and the people connecting to your server connect to you directly, just like any other public server. Some programs you may use already use this. Peer to peer filesharing software uses UPnP to open the ports to allow incoming and outgoing connections, and even Skype uses UPnP for the same reason.

It's not working for me.
PortMiner may not work for you for many reasons ranging from UPnP not being enabled/supported by your router, or your router may not be supported by the Cling Library (used to open the ports). Firstly, before asking for help read the "PortMiner Manual" file that comes with the application, and look in the Troubleshooting section.

Warning about port forwarding:
PortMiner uses UPnP to map ports, which is the same as port forwarding. While port forwarding itself can not damage your router, it opens a port directly to your computer, and thus can let malicous connections get through. Be sure to only share your IP address with people you trust.

I found a bug./Is it supposed to do this?/Any other question not answered in the manual, or on this page:
If you find any bugs or have any unanswered questions feel free to reply and I'll reply next time I'm on PMC.

Notes:
I am not responsible for any damage to your computer even though it is incredibly unlikely, I have to put this here.
Contains LGPL software from: github.com/4thline/cling
Progress: 100% Complete
Game Version:Minecraft 1.12

Note: Showing last 25 of 28 logs.

PortMiner 5.2 : 06/17/2017 6:39:09 pm6/17/17

Moved properties and log file to AppData (home directory for Linux/OSX)

Please note that unless you manually copy your properties files to a folder called PortMiner in %appdata% (for Windows), your PortMiner's old settings will be lost, and a new file will be generated instead.

PortMiner 5.1 : 06/04/2017 9:25:19 am6/04/17

MinTTY is no longer required for PortMiner on Windows and Command Prompt is used instead.

PortMiner 5 : 03/27/2017 3:58:22 pm3/27/17

When running on Linux, now creates PortMiner directory in the home directory.

PortMiner 4.91 : 03/24/2017 3:09:34 pm3/24/17

Changed the interval that makes PortMiner check if MinTTY is still running to a smaller value (2500ms), meaning it should respond faster to a server close.

Update #24 : 03/12/2017 4:15:25 pm3/12/17

Cleaned formatting and added LGPL notice.

PortMiner 4.8 : 11/03/2016 5:00:20 pm11/03/16

Updated libraries

PortMiner 4.7 : 05/04/2016 5:50:23 pm5/04/16

Updates starting again, very minor bug fix.

PortMiner 4.6 : 03/12/2016 8:05:04 am3/12/16

Fixed large bug where PortMiner would hang when checking if the server jar existed.

PortMiner 4.5 : 03/11/2016 2:35:58 pm3/11/16

Changed the host for update checking to a much more reliable host (GitHub).

PortMiner 4.4 : 03/08/2016 3:34:22 pm3/08/16

PortMiner is now no longer just for Minecraft. If you want to set up another server manually without port forwarding, such as Gmod, open the PortMiner configuration, set the port, and set run-server to false. PortMiner will then run without starting the Minecraft server, only opening the specified port. The protocol can also be set (TCP or UDP) as run-server-false-protocol.

PortMiner 4.3 : 03/05/2016 6:39:24 pm3/05/16

Cleaned up code.

PortMiner 4.2 : 02/29/2016 5:43:44 pm2/29/16

Fixed updater bug, continuously saying there was an update when it was the latest version.
Added feedback dialog (only one time).

PortMiner 4.1 : 02/29/2016 1:34:03 pm2/29/16

Progress bar is back.

PortMiner 4 : 02/28/2016 12:31:48 pm2/28/16

Complete rewrite of code. Runs better and has much, much better multi-OS support (still not for OSX yet!)

- More user friendly, easier to select server jar file, remembers selection, instead of having to manually change the configuration parameter.

- Code is cleaner.

- Progress bar removed for now, as it's pretty pointless.

- A lot more stable.

PortMiner 3.6 : 02/22/2016 4:36:25 pm2/22/16

PortMiner now checks if it was correctly closed. This is quite important as if PortMiner crashes there is a possibility port 25565 may be left open, however now you will be alerted if PortMiner crashed.
You can now manually select the jar file instead of having to edit the configuration, and it's location will be saved.

PortMiner 3.5 : 02/10/2016 3:17:54 pm2/10/16

Changed host address for the update checker as the last one messed up for some reason.

PortMiner 3.4 : 01/19/2016 4:37:38 pm1/19/16

If the server jarfile can not be found and you choose not to download the official server when prompted, a file selector box will open and allow you to manually select the server jarfile, to make it more user friendly if for some reason you don't want to set it in the configuration.

PortMiner 3.3 : 01/16/2016 6:24:31 pm1/16/16

Added a progress bar when starting PortMiner so you can see what it's doing, or if an error occurs, where it crashed.

PortMiner 3.2 : 01/10/2016 7:11:22 am1/10/16

The logger now uses a much more readable timestamp instead of the Unix timestamp.

PortMiner 3.1 : 01/07/2016 12:37:28 pm1/07/16

Cleaned up some of the code after implementing Linux, and now should be basically the same as Windows when running on Linux. Xterm is still required, and will probably always be, most Linux distributions come with this pre-installed.

PortMiner 3 : 01/06/2016 5:55:36 pm1/06/16

Partial Linux support!

PortMiner 2.9 : 01/05/2016 5:36:39 pm1/05/16

The logger outputs to a logfile now (like loggers should), instead of just to the console.

PortMiner 2.8 : 01/04/2016 2:39:38 pm1/04/16

If it can't find the server jar, it will prompt you to download the official Minecraft server jar, if you wish to use Bukkit, Spigot or another platform, click No when it prompts you (or place the jar before running PortMiner once).

PortMiner 2.7 : 01/04/2016 9:38:13 am1/04/16

Implemented basic update checker, beginning to implement Linux (and possibly) Mac support. They're not supported yet but I've implemented detection of the user's operating system.

Update #4 : 01/04/2016 7:40:24 am1/04/16

Now catches errors correctly, and displays a dialog box giving a very brief description of the error. Also now parses the configuration all in one once you run PortMiner, instead of loading individual parameters from the configuration throughout the code.

Comments : 243

Join us to post comments.

Show Comments

1 - 50 of 243

Sweet program you have made here, smithy21200. I am wondering if you have made a version of PortMiner that doesn't need a graphical interface. I ask this because I am trying to run a 1.5.2 minecraft server on a raspberry pi and the need for a graphical interface takes up precious resources on what is already a limited system to be running a minecraft server.
  • smithy21200
  • Level 36
  • Artisan Engineer
  • September 24, 2017, 4:23 am
Try the plugin
  • Probolter
  • Level 1
  • New Miner
  • September 13, 2017, 12:55 am
what ip do everyone in this world will use?
  • smithy21200
  • Level 36
  • Artisan Engineer
  • September 15, 2017, 11:49 am
Your public IP, find it by searching "what is my ip" on google
  • Goload
  • Level 1
  • New Network
  • September 12, 2017, 6:20 pm
What Ip would my friends use?




C:\Users\Spencer\Desktop\Minecraft Server - Copy>java -Xms1G -Xmx1G -jar craftbukkit.jar -o true
Loading libraries, please wait...
[22:08:07 INFO]: Starting minecraft server version 1.12.1
[22:08:07 INFO]: Loading properties
[22:08:07 INFO]: Default game type: SURVIVAL
[22:08:07 INFO]: Generating keypair
[22:08:07 INFO]: Starting Minecraft server on 10.0.0.150:25565
[22:08:07 INFO]: Using default channel type
[22:08:07 INFO]: This server is running CraftBukkit version git-Bukkit-876d22c (MC: 1.12.1) (Implementing API version 1.12.1-R0.1-SNAPSHOT)
[22:08:08 INFO]: [PortMinerPlugin] Loading PortMinerPlugin v1.1
[22:08:08 INFO]: Preparing level "Tamriel"
[22:08:08 INFO]: Preparing start region for level 0 (Seed: -4328493758711880130)
[22:08:09 INFO]: Preparing spawn area: 38%
[22:08:10 INFO]: Preparing start region for level 1 (Seed: 428598726191299179)
[22:08:11 INFO]: Preparing spawn area: 80%
[22:08:11 INFO]: Preparing start region for level 2 (Seed: 428598726191299179)
[22:08:11 INFO]: [PortMinerPlugin] Enabling PortMinerPlugin v1.1
[22:08:11 INFO]: [PortMinerPlugin] Checking for updates...
[22:08:11 INFO]: [PortMinerPlugin] No updates available.
[22:08:11 INFO]: [PortMinerPlugin] Server's Internal IP is: 10.0.0.150:25565
[22:08:11 INFO]: >>> Starting UPnP service...
[22:08:11 INFO]: Using configuration: org.fourthline.cling.DefaultUpnpServiceConfiguration
[22:08:11 INFO]: Creating Router: org.fourthline.cling.transport.RouterImpl
[22:08:11 INFO]: Creating wildcard socket (for receiving multicast datagrams) on port: 1900
[22:08:11 INFO]: Joining multicast group: /239.255.255.250:1900 on network interface: Intel(R) Ethernet Connection (2) I219-V
[22:08:11 INFO]: Created server (for receiving TCP streams) on: /10.0.0.150:57994
[22:08:11 INFO]: Creating bound socket (for datagram input/output) on: /10.0.0.150
[22:08:11 INFO]: <<< UPnP service started successfully
[22:08:11 INFO]: [PortMinerPlugin] Opened port 25565
[22:08:11 INFO]: Server permissions file permissions.yml is empty, ignoring it
[22:08:11 INFO]: Done (3.751s)! For help, type "help" or "?"
  • smithy21200
  • Level 36
  • Artisan Engineer
  • September 15, 2017, 11:49 am
Tell your friends your public IP, find this by searching "what is my ip" on Google.
  • ConnorJF
  • Level 1
  • New Miner
  • August 6, 2017, 7:38 am
It says it cannot find java.exe whenever I run the portminer.jar file, do you know what the problem could be?
  • smithy21200
  • Level 36
  • Artisan Engineer
  • September 15, 2017, 11:49 am
You don't have Java in the PATH variable, try reinstalling it.
  • vberstrom02
  • Level 39
  • Artisan Modder
  • August 1, 2017, 10:10 am
This looks interesting, gonna test this out sometime!
yay 50th diamond
when its done what do i do like whats port
  • TBD
  • Level 7
  • Apprentice Artist
  • June 26, 2017, 2:29 pm
how do i install it?
  • Macky127
  • Level 1
  • New Miner
  • June 15, 2017, 2:04 pm
It's working but i have a question does TCP and UDP can join my server, when i put my public ip i cannot see my server open
  • smithy21200
  • Level 36
  • Artisan Engineer
  • June 17, 2017, 2:14 am
Not quite sure what you mean with the TCP and UDP thing, but Minecraft servers use only TCP, so that's the only protocol opened on the port. Also, for some people when joining your own server, you might have to use your local or loopback address (try 127.0.0.1), the public IP is for people who aren't on your network to join.
  • Macky127
  • Level 1
  • New Miner
  • June 19, 2017, 4:20 am
do i need to turn ff my firewall so they can join?
  • kunaal
  • Level 1
  • New Miner
  • May 2, 2017, 8:52 pm
i don't understand how to make it
  • Luminescent
  • Level 39
  • Artisan Kitten
  • April 24, 2017, 8:23 am
do you think would the plugin .jar would work for a 1.7.10 or 1.8 server?
also, thank you very much for developing this!!
  • smithy21200
  • Level 36
  • Artisan Engineer
  • April 25, 2017, 3:15 pm
It could work, but hasn't been tested. Give it a shot, and tell me if it works.
  • Kazbears
  • Level 1
  • New Miner
  • April 23, 2017, 5:04 pm
Is This Plugin For 1.11 only? I'm not sure that wold work on my 1.11.2 server.
  • smithy21200
  • Level 36
  • Artisan Engineer
  • April 25, 2017, 3:16 pm
It should run on 1.11.2
  • DatboiAsriel
  • Level 3
  • Apprentice Architect
  • April 19, 2017, 7:49 am
100 percent works 1 diamond for, I use it for my dragon block c server, one diamond for you!
  • smithy21200
  • Level 36
  • Artisan Engineer
  • April 25, 2017, 3:16 pm
Glad it's working for you
  • JasonXDs
  • Level 1
  • New Miner
  • April 17, 2017, 11:31 am
how do i do that i need to run this in the server's folder?
i have bungeecord does it work with it?
and how to run it do i need to run something before i run the PortMiner.jar?
do i change the portminer.properties?????
Failed to add port mapping: (PortMapping) Protocol: TCP, 25565 => 192.168.195.1
[12:19:28 WARN]: Reason: Error: Action Failed (HTTP response was: 500 Internal Server Error) How do I fix this?
  • smithy21200
  • Level 36
  • Artisan Engineer
  • April 12, 2017, 3:48 pm
Open CMD and run ipconfig, under your connection find the gateway and can you tell me what it is?
192.168.1.1
  • smithy21200
  • Level 36
  • Artisan Engineer
  • April 13, 2017, 2:16 pm
There's the issue. For some reason PortMiner is trying to ask 192.168.195.1 to open a port on UPnP, it should be asking 192.168.1.1. Have you got multiple interfaces (Wireless and Ethernet both connected at the same time, Hamachi, VirtualBox?)
There now its just wifi, and says Failed to add port mapping: (PortMapping) Protocol: TCP, 25565 => 192.168.1.122
[18:14:56 WARN]: Reason: Error: Action Failed (HTTP response was: 500 Internal Server Error)
  • smithy21200
  • Level 36
  • Artisan Engineer
  • April 14, 2017, 9:00 am
Not sure why it's still trying to use a different address from the one it should be (192.168.1.1). Are you sure there's no other interfaces/devices it may be trying to use?
Yes?
  • natesfate
  • Level 1
  • New Miner
  • April 1, 2017, 6:15 pm
Ok so I can't seem to get my friends to join my server, my UPnP is enabled and I see the port open in it and I added my ipv4 address into the internal ip just in case it doesn't recognize that. I did give them my public ip adress to connect with. If someone could help me that would be great. I added a log to show what happens when I start the server.


C:\Users\Nathan\Desktop\Minecraft Server\New folder>java -jar PortMiner.jar
[19:07:14][INFO] Getting property: config-version
[19:07:14][INFO] Found value: 1.1
[19:07:14][INFO] PortMiner uses LGPL software from github.com/4thline
[19:07:15][INFO] PortMiner is up to date.
[19:07:15][INFO] Getting property: port
[19:07:15][INFO] Found value: 25565
[19:07:15][INFO] Getting property: server-jar
[19:07:15][INFO] Found value: C:\Users\Nathan\Desktop\Minecraft Server\minecraft
_server.1.11.2.jar
C:\Users\Nathan\Desktop\Minecraft Server\minecraft_server.1.11.2.jar
[19:07:15][INFO] Getting property: xms
[19:07:15][INFO] Found value: 248
[19:07:15][INFO] Getting property: xmx
[19:07:15][INFO] Found value: 1024
[19:07:15][INFO] Getting property: maxpermsize
[19:07:15][INFO] Found value: 64
[19:07:15][INFO] Getting property: safe-close
[19:07:15][INFO] Found value: true
[19:07:15][INFO] Getting property: run-server
[19:07:15][INFO] Found value: true
[19:07:15][INFO] Getting property: run-server-false-protocol
[19:07:15][INFO] Found value: TCP
[19:07:15][INFO] Setting property: safe-close to false
[19:07:15][INFO] Getting property: find-ip
[19:07:15][INFO] Found value: false
[19:07:15][INFO] Getting property: internal-ip
[19:07:15][INFO] Found value: 192.168.1.2
[19:07:15][INFO] Internal IP is 192.168.1.2
[19:07:15][INFO] Opening port 25565
[19:07:15][INFO] Getting property: find-ip
[19:07:15][INFO] Found value: false
[19:07:15][INFO] Getting property: internal-ip
[19:07:15][INFO] Found value: 192.168.1.2
Apr 01, 2017 7:07:15 PM org.fourthline.cling.UpnpServiceImpl <init>
INFO: >>> Starting UPnP service...
Apr 01, 2017 7:07:15 PM org.fourthline.cling.UpnpServiceImpl <init>
INFO: Using configuration: org.fourthline.cling.DefaultUpnpServiceConfiguration
Apr 01, 2017 7:07:15 PM org.fourthline.cling.transport.RouterImpl <init>
INFO: Creating Router: org.fourthline.cling.transport.RouterImpl
Apr 01, 2017 7:07:15 PM org.fourthline.cling.transport.impl.NetworkAddressFactor
yImpl isUsableNetworkInterface
WARNING: Network interface may not be multicast capable: Teredo Tunneling Pseudo
-Interface
Apr 01, 2017 7:07:15 PM org.fourthline.cling.transport.impl.MulticastReceiverImp
l init
INFO: Creating wildcard socket (for receiving multicast datagrams) on port: 1900

Apr 01, 2017 7:07:15 PM org.fourthline.cling.transport.impl.MulticastReceiverImp
l init
INFO: Joining multicast group: /239.255.255.250:1900 on network interface: Qualc
omm Atheros AR9485 802.11b/g/n WiFi Adapter
Apr 01, 2017 7:07:15 PM org.fourthline.cling.transport.impl.StreamServerImpl ini
t
INFO: Created server (for receiving TCP streams) on: /192.168.1.2:50166
Apr 01, 2017 7:07:15 PM org.fourthline.cling.transport.impl.DatagramIOImpl init
INFO: Creating bound socket (for datagram input/output) on: /192.168.1.2
Apr 01, 2017 7:07:15 PM org.fourthline.cling.UpnpServiceImpl <init>
INFO: <<< UPnP service started successfully
Apr 01, 2017 7:07:15 PM org.fourthline.cling.protocol.RetrieveRemoteDescriptors
describe
WARNING: Device descriptor retrieval failed, no response: 192.168.1.1:820
0/rootDesc.xml
Apr 01, 2017 7:07:16 PM org.fourthline.cling.protocol.RetrieveRemoteDescriptors
describe
WARNING: Device descriptor retrieval failed, no response: 192.168.1.1:820
0/rootDesc.xml
Apr 01, 2017 7:07:16 PM org.fourthline.cling.protocol.RetrieveRemoteDescriptors
describe
WARNING: Device descriptor retrieval failed, no response: 192.168.1.1:820
0/rootDesc.xml
Apr 01, 2017 7:07:17 PM org.fourthline.cling.protocol.RetrieveRemoteDescriptors
describe
WARNING: Device descriptor retrieval failed, no response: 192.168.1.1:820
0/rootDesc.xml
Apr 01, 2017 7:07:17 PM org.fourthline.cling.protocol.RetrieveRemoteDescriptors
describe
WARNING: Device descriptor retrieval failed, no response: 192.168.1.1:820
0/rootDesc.xml
Apr 01, 2017 7:07:17 PM org.fourthline.cling.protocol.RetrieveRemoteDescriptors
describe
WARNING: Device descriptor retrieval failed, no response: 192.168.1.1:820
0/rootDesc.xml
Apr 01, 2017 7:07:17 PM org.fourthline.cling.protocol.RetrieveRemoteDescriptors
describe
WARNING: Device descriptor retrieval failed, no response: 192.168.1.1:820
0/rootDesc.xml
  • smithy21200
  • Level 36
  • Artisan Engineer
  • April 2, 2017, 4:48 am
Looks like your router may not be supported by the library used as it seems to be having an issue retrieving UPnP data from the router
I'm having i would think the same problem:


C:\Users\*****\Desktop\PN Server>java -jar PortMiner.jar
[11:51:47][INFO] Getting property: config-version
[11:51:47][INFO] Found value: 1.1
[11:51:47][INFO] PortMiner uses LGPL software from github.com/4thline
[11:51:47][INFO] PortMiner is up to date.
[11:51:47][INFO] Getting property: port
[11:51:47][INFO] Found value: 25565
[11:51:47][INFO] Getting property: server-jar
[11:51:47][INFO] Found value: C:\Users\*****\Desktop\PN Server\forge-1.10.2-12.18.3.2281-universal.jar
C:\Users\*****\Desktop\PN Server\forge-1.10.2-12.18.3.2281-universal.jar
[11:51:47][INFO] Getting property: xms
[11:51:47][INFO] Found value: 256
[11:51:47][INFO] Getting property: xmx
[11:51:47][INFO] Found value: 1024
[11:51:47][INFO] Getting property: maxpermsize
[11:51:47][INFO] Found value: 64
[11:51:47][INFO] Getting property: safe-close
[11:51:47][INFO] Found value: true
[11:51:47][INFO] Getting property: run-server
[11:51:47][INFO] Found value: true
[11:51:47][INFO] Getting property: run-server-false-protocol
[11:51:47][INFO] Found value: TCP
[11:51:47][INFO] Setting property: safe-close to false
[11:51:47][INFO] Getting property: find-ip
[11:51:47][INFO] Found value: false
[11:51:47][INFO] Getting property: internal-ip
[11:51:47][INFO] Found value: ***.***.*.*
[11:51:47][INFO] Internal IP is ***.***.*.*
[11:51:47][INFO] Opening port 25565
[11:51:47][INFO] Getting property: find-ip
[11:51:47][INFO] Found value: false
[11:51:47][INFO] Getting property: internal-ip
[11:51:47][INFO] Found value: ***.***.*.*
Apr 25, 2017 11:51:47 AM org.fourthline.cling.UpnpServiceImpl <init>
INFO: >>> Starting UPnP service...
Apr 25, 2017 11:51:48 AM org.fourthline.cling.UpnpServiceImpl <init>
INFO: Using configuration: org.fourthline.cling.DefaultUpnpServiceConfiguration
Apr 25, 2017 11:51:48 AM org.fourthline.cling.transport.RouterImpl <init>
INFO: Creating Router: org.fourthline.cling.transport.RouterImpl
Apr 25, 2017 11:51:48 AM org.fourthline.cling.transport.impl.NetworkAddressFactoryImpl isUsableNetworkInterface
WARNING: Network interface may not be multicast capable: Microsoft Teredo Tunneling Adapter
Apr 25, 2017 11:51:48 AM org.fourthline.cling.transport.impl.MulticastReceiverImpl init
INFO: Creating wildcard socket (for receiving multicast datagrams) on port: 1900
Apr 25, 2017 11:51:48 AM org.fourthline.cling.transport.impl.MulticastReceiverImpl init
INFO: Joining multicast group: /239.255.255.250:1900 on network interface: Intel(R) Dual Band Wireless-AC 7265
Apr 25, 2017 11:51:48 AM org.fourthline.cling.transport.impl.StreamServerImpl init
INFO: Created server (for receiving TCP streams) on: /***.***.*.*:61027
Apr 25, 2017 11:51:48 AM org.fourthline.cling.transport.impl.DatagramIOImpl init
INFO: Creating bound socket (for datagram input/output) on: /***.***.*.*
Apr 25, 2017 11:51:48 AM org.fourthline.cling.UpnpServiceImpl <init>
INFO: <<< UPnP service started successfully
[11:51:51][INFO] Closing port 25565
Apr 25, 2017 11:51:55 AM org.fourthline.cling.UpnpServiceImpl$1 run
INFO: >>> Shutting down UPnP service...
Apr 25, 2017 11:51:56 AM org.fourthline.cling.UpnpServiceImpl$1 run
INFO: <<< UPnP service shutdown completed
[11:51:56][INFO] Setting property: safe-close to true

C:\Users\*****\Desktop\PN Server>


I'm trying to run forge-1.10.2-12.18.3.2281-universal.jar for pixelmon 1.10.2


If you need the IP, then i will tell you.
  • smithy21200
  • Level 36
  • Artisan Engineer
  • April 25, 2017, 3:17 pm
Looks like the port opens correctly, and then closes. This means that it is probably your server actually having the issue, and the server is crashing, and then PortMiner assumes the server has closed, so closes the port.
  • natesfate
  • Level 1
  • New Miner
  • April 2, 2017, 10:53 am
Alright, I'll look into that then, thanks.
I'm trying to run this on an Ubuntu server, but I keep getting an error on launching it, as follows:

Exception while creating logging file.
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:1012)
at com.inicf.PortMiner.Logger.log(Logger.java:30)
at com.inicf.PortMiner.PropParse.checkPropFile(PropParse.java:33)
at com.inicf.PortMiner.PropParse.getProperty(PropParse.java:75)
at com.inicf.PortMiner.PortMiner.main(PortMiner.java:50)

love the project, would love it even more if I could run it!
  • smithy21200
  • Level 36
  • Artisan Engineer
  • March 25, 2017, 1:35 pm
Looks like an error when trying to make the log file. I'm not sure where it's going wrong though. Does PortMiner say anything about it not detecting your operating system. Saying something like "[WARN] Couldn't get OS"?
  • smithy21200
  • Level 36
  • Artisan Engineer
  • March 25, 2017, 1:42 pm
Also if you're running a Spigot or Bukkit server it may be better using the plugin version of PortMiner which is in the PMC post, as the plugin works across all systems.
It doesn't say anything on that subject; I posted the entirety of the exception that gets dumped to terminal. :/

I'm actually running Sponge (specifically, SpongeForge); not sure how hard it would be, but it could be worth the time to port PortMiner to Sponge plugin?
  • smithy21200
  • Level 36
  • Artisan Engineer
  • March 27, 2017, 11:59 am
Turns out the issue may be that the directory for PortMiner never exists because it's not been created. Just fixed this hopefully, so try the latest release and see if that works for you.
  • smithy21200
  • Level 36
  • Artisan Engineer
  • March 26, 2017, 2:32 pm
I'll definitely look into making a Sponge plugin. After looking at the code it looks like there's probably an issue with PortMiner finding your home directory as you're on Linux. Best way to fix this currently would be to release a new version that lets you manually specify a directory for PortMiner's files. So I should release that sometime soon.
no Virus in dis rigt ?
  • smithy21200
  • Level 36
  • Artisan Engineer
  • March 15, 2017, 10:01 am
Nope
OK
  • Iz_Da_Bait
  • Level 1
  • New Miner
  • March 13, 2017, 6:09 pm
Thanks for your reply to my other comment. Anyway i love this however it stopped working after i got my new router. but its still local so i dont care but is there any way to add more ram to this? ive been trying but it seems to not work as it is using mintty.
  • smithy21200
  • Level 36
  • Artisan Engineer
  • March 14, 2017, 8:42 am
If you're only using your server locally you shouldn't need to use PortMiner, but if you still want to use PortMiner for some reason, you can give the server more RAM by editing the "xmx" value in portminer.properties. The default is 1024. It's measured in megabytes so 1024=1GB and 2048=2GB, etc.
how use it ???
  • smithy21200
  • Level 36
  • Artisan Engineer
  • March 13, 2017, 4:11 pm
  • Iz_Da_Bait
  • Level 1
  • New Miner
  • March 12, 2017, 1:22 pm
is there any way to automatically update this? (like a command or .bat)
thanks
  • smithy21200
  • Level 36
  • Artisan Engineer
  • March 12, 2017, 2:35 pm
Not currently, but I may implement this in the future.
  • Mc_Mark
  • Level 1
  • New Miner
  • February 3, 2017, 1:56 pm
how do i make this work with a modpack server?

it would be nice if you could point me to a video on YT or something, but if not that's fine.
  • smithy21200
  • Level 36
  • Artisan Engineer
  • February 13, 2017, 2:42 pm
To use with a modpack server, you just set the server up as usual, place PortMiner in the directory with the server files, and run it like normal.
what should i write n internal ip ?
  • smithy21200
  • Level 36
  • Artisan Engineer
  • February 13, 2017, 2:40 pm
You shouldn't need to set the internal IP unless you have to. If you do, use ipconfig in CMD to find your internal (local) IP address and enter it. Might be easier to google how to find your internal IP if this wasn't enough.
What IP do I put in?
  • smithy21200
  • Level 36
  • Artisan Engineer
  • February 13, 2017, 2:41 pm
For you connecting to your server you should be able to use localhost (127.0.0.1). The people joining should use your external IP, which can be found by searching on Google "What is my IP", and it should show in a box right at the top.
  • Penwell
  • Level 1
  • New Miner
  • October 15, 2016, 3:11 pm
Failed to fork child process: Resource temporarily unavailable. That is what I get every time I run portminer. Please help. :/
  • Penwell
  • Level 1
  • New Miner
  • October 15, 2016, 3:12 pm
and also that mintty died unexpectedly
  • smithy21200
  • Level 36
  • Artisan Engineer
  • November 3, 2016, 12:29 pm
What operating system are you running?
  • Penwell
  • Level 1
  • New Miner
  • December 27, 2016, 3:29 pm
Every time I try to use forge for a server, it crashes PortMiner
  • Penwell
  • Level 1
  • New Miner
  • December 26, 2016, 12:22 pm
Does portminer work for a modded server?
  • Penwell
  • Level 1
  • New Miner
  • December 26, 2016, 12:06 pm
I am using Windows 10
  • smithy21200
  • Level 36
  • Artisan Engineer
  • February 13, 2017, 2:42 pm
PortMiner might not be the problem, have you tried running the Forge server independently to see if it's actually the forge server that's the issue?
  • RoseThorn
  • Level 1
  • New Miner
  • August 9, 2016, 9:21 am
it opens the ports then closes right after and i can't get people to be able to join because of that. Please help me!
  • GodsiKing
  • Level 1
  • New Miner
  • June 24, 2016, 7:44 am
Which ip i need to use?
  • Savage4Dayz
  • Level 13
  • Journeyman Architect
  • July 4, 2016, 12:25 pm
Public IP
  • TBD
  • Level 7
  • Apprentice Artist
  • June 26, 2017, 2:39 pm
when i put my public ip, the cmd closes, but when i put my ipv4 ip, i works, but players can't connect
  • Planetjoshua
  • Level 21
  • Expert Architect
  • December 7, 2016, 12:16 pm
Its only really for people you trust.
It seems to open, briefly, open the correct ports and then close shortly after and also close the ports?
Same here, I think it said "500 internal server error" or something like that
Where do I find the IP
  • Iz_Da_Bait
  • Level 1
  • New Miner
  • March 13, 2017, 6:27 pm
type "whats my ip" in google
  • GameCode
  • Level 3
  • Apprentice Miner
  • June 10, 2016, 10:08 am
I can open my localhost server with it in an cmd window, but does it really work? (i cannot test if someone can join) but still you actually did an great job if i see the comments

1 - 50 of 243

Show Comments

Search

Browse

Site

© planetminecraft.com

Welcome