NXT-SERVER(1)
β¨ NAME β¨
nxt-server β the network server for the NXT brick, bestie π
π SYNOPSIS π
nxt-server [βbackend NAME] [βconfig NAME] [βconfig-filename PATH] [βname
NAME] [βhost ADDRESS] [βserver-host HOST] [βserver-port PORT] [βfilename
FILENAME] [-p|βport PORT] [βlog-level LEVEL]
πΈ DESCRIPTION πΈ
okay so nxt-server serves up an interface to a connected NXT brick over the network. like, it's the main character that lets other stuff talk to your brick remotely, no cap.
And the NXT brick itself can be connected using USB, Bluetooth or over the network. three vibes, your pick π¦
π OPTIONS π
-p,βport PORTβ sets the bind port. the same value has to be handed to the client usingβserver-port, or set inside Python code. the default port is2727. don't forget it or you'll be screaming into the void π--log-level LEVELβ sets the log level. it's one ofDEBUG,INFO,WARNING,ERROR, orCRITICAL. any message whose level is below the current log level just... won't be displayed π
π COMMON OPTIONS π
these ones are common to programs using NXT-Python, so you'll see them around. iykyk β¨
--backend NAMEβ enables the given backend. can be used several times to enable several backends, go off queen. one ofusb(<#module-nxt.backend.usb>),bluetooth(<#module-nxt.backend.bluetooth>),socket(<#module-nxt.backend.socket>) ordevfile(<#module-nxt.backend.devfile>).--config NAMEβ the name of the configuration file section to use.--config-filename PATHβ path to the configuration file. can be used several times to use several configuration files. stack 'em π«Ά--name NAMEβ the name of the NXT brick (for example:NXT). super useful for finding the right brick when several bricks are connected, because bestie you do not want to be talking to the wrong brick π--host ADDRESSβ the Bluetooth address of the NXT brick (for example:00:16:53:01:02:03).--server-host HOSTβ the server address or name to connect to when you're using thesocket(<#module-nxt.backend.socket>) backend.--server-port PORTβ the server port to connect to when you're using thesocket(<#module-nxt.backend.socket>) backend.--filename FILENAMEβ the device filename (for example:/dev/rfcomm0), used when you're on the~nxt.backend.devfilebackend.
lowkey important: go read the nxt-python.conf(5) documentation for a better explanation of the options for finding the NXT brick. it's the lore, fr fr π
π EXAMPLE π
nxt-server --host 00:16:53:01:02:03
starting the server on a computer that's connected to a NXT brick, accepting connections on the default port 2727. iconic π
nxt-test --server-host 192.168.1.2
assuming that first computer has the address 192.168.1.2, this remotely connects to the server to run a test. slay π
π₯ SEE ALSO π₯
nxt-python.conf(5)- NXT-Python documentation
<https://ni.srht.site/nxt-python/latest/>
π«Ά Author π«Ά
this program is part of NXT-Python, which is currently maintained by Nicolas Schodet. respect the maintainer, they keep the lights on β¨
π Copyright π
2021-2025, Nicolas Schodet
okay that's the whole thing, and as a lil sign-off: this is version 3.5.1, dated Jan 26, 2026 β go forth and serve, bestie, you got this π
ππ¦
π¦ where this page comes from
- ubuntu resolute: python3-nxt 3.5.1-1build1
- ubuntu stonking: python3-nxt 3.5.1-1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms