Facebook Twitter gPlus rss LinkedIn
  • Board index
  • FAQ
  • Register
  • Login
  • BACK TO HUBLIST
FORUM.DCHUBLIST.ORG
Hublist support board for Direct Connect.

JADCH - java ADC direct connect hub project.

DC hub software that is supported.

Moderator: Admin

Post a reply
1 post • Page 1 of 1
  • Reply with quote

JADCH - java ADC direct connect hub project.

by Admin » Sat Jul 11, 2026 3:16 pm

ADC Hub (Advanced Direct Connect) in Java 25, zero framework, Virtual Threads.
Clean Architecture hexagonal (ports & adapters), manual constructor injection.


Quick start:

Code: Select all
Option 1 : Native binary (GraalVM, recommended)
# Build native image (requires GraalVM 25+ with native-image)
mvn -Pnative package -DskipTests

# Run
./target/jadchub config/application.yml
The native binary starts in ~5 ms and uses ~20 MB of RAM.



Code: Select all
Option 2 : Uber JAR
# Build fat JAR
mvn package -DskipTests

# Run
java --enable-preview -jar target/jadchub.jar config/application.yml


Connect
Connect with any ADC client (AirDC++, DC++, etc.) to adc://localhost:1511.
Default admin account: admin / changeme (change immediately in config/users.yml).
Bind address (IPv4 / IPv6 / dual-stack)
By default, the hub binds on :: (dual-stack), accepting both IPv4 and IPv6
connections on the same port. Set server.bind-address in application.yml
to control which interfaces and protocols the hub listens on:
server:
# bind-address: "::" # dual-stack (default, accepts IPv4 + IPv6)
# bind-address: "0.0.0.0" # IPv4 only (all interfaces)
# bind-address: "192.168.1.10" # IPv4, single interface
# bind-address: "2001:db8::1" # IPv6, single interface
port: 1511

Note: The JVM flags -Djava.net.preferIPv4Stack=true and
-Djava.net.preferIPv6Addresses=true also work when running the uber JAR,
but are not available in native image mode (GraalVM). Use
server.bind-address for both modes.

Configuration
All settings are in config/application.yml:




TLS
To enable TLS, generate a self-signed certificate and configure application.yml:
tls:
enabled: true
certificate: "config/cert.pem"
private-key: "config/key.pem"
Additional TLS settings:

require: true — reject non-TLS connections entirely
min-version: "TLSv1.2" — minimum TLS version
ciphers — allowed cipher suites[/quote]
Attachments
jadchub-main.zip
jadch 0.9.0 snapshot source.
(240.02 KiB) Downloaded 1 time
User avatar
Admin
Site Admin
 
Posts: 249
Joined: Mon May 25, 2015 11:56 am
Location: OCALA FL USA
  • Private message
  • Website

Post a reply
1 post • Page 1 of 1

Return to SUPPORTED SOFTWARE

  • Board index
  • The team • Delete all board cookies • All times are UTC - 5 hours

Preset Styles

Select variation:

Main Menu

User Menu

  • FAQ
  • Members
  • Register
  • Login

Login

Who is online

Users browsing this forum: No registered users and 2 guests

Our Team:

ADMIN AKRUK DEREK ESENTIAL
THE CROW DELION CYBERGHOST404
 

HTTPS://DCHUBLIST.ORG
© 2020 MULTIPROTOCOL DC HUBLIST
 
admin@dchublist.org
 

View new posts

  • JADCH - java ADC direct connect hub project. by Admin
  • Re: uHub v. 0.7.1 was released 7-5-2026.[ ACTIVE ]. by Derek
  • Re: ADC regserver - duplicates. by Derek
  • Re: ADC regserver geolocation data partially missing in db. by Derek
  • ADC regserver - duplicates. by akruk
  • ADC regserver geolocation data partially missing in db. by akruk
  • ADC hublist registration server. by Admin
  • Re: Plans for ADC Regserver? by Aybo
Reset
  • HUBLIST HOME
  • HUB LIST
  • HUB STATS
  • NEW HUBS