Network Access & Native Packages
Blip Host blocks certain outbound connections and ports for security reasons, and we make certain compiler and system libraries available to native packages.
Outbound connections
Your bot can connect to any public server on any TCP port. Hosted databases such as MongoDB Atlas or Supabase, Redis, a Lavalink server you run elsewhere, game servers, and APIs all work without any setup.
A few kinds of connection are blocked because they're mostly used for spam and break-in attempts:
| Blocked | Ports | What to do instead |
|---|---|---|
| Remote logins (SSH, Telnet, Remote Desktop, VNC) | 22, 23, 2323, 3389, 5900 | Call an HTTPS API on the other server, or use the service's own remote console, such as Minecraft RCON. |
| Email over SMTP | 25, 465, 587, 2525 | Send through your email provider's HTTPS API. Resend, Postmark, SendGrid, and Mailgun all have one. |
| File sharing (Windows, NFS) | 111, 135, 137–139, 445 | Keep files in /data
, or download them over HTTPS. |
| Cryptocurrency mining pools | 3333, 4444, and a few others only mining pools use | Mining isn't allowed on Blip Host. |
Your bot also can't reach:
- Private network addresses (
10.x,172.16–31.x,192.168.x, and100.64–127.x). They only work inside your own network, so use the server's public address or hostname. Managed databases from the Databases page connect as usual. - Other DNS servers. Your bot looks up names through Blip Host's DNS, which resolves any public name. A DNS server set in your code, such as
8.8.8.8, is blocked. - IPv6 addresses. Connections go out over IPv4.
Voice & UDP
Discord sends voice audio over UDP. Bots on dedicated slots can send UDP to ports 1024 and up, which covers voice and most game server queries. Shared slots make TCP connections only, so a bot there can't play or receive audio in voice channels.
Builds check for voice libraries such as @discordjs/voice
, DisTube, and discord.py[voice]
, and the dashboard reminds you when a bot using one is on a shared slot. Music bots that play through a Lavalink server don't need UDP themselves, since Lavalink sends the audio.
Native packages & system libraries
Builds include a C/C++ compiler, Python headers, and pkg-config
, so packages with native code compile even when there's no prebuilt binary for your Node.js or Python version. That covers packages like better-sqlite3
, bcrypt
, canvas
, and psycopg2
, and Go packages that use cgo, such as go-sqlite3
.
These system libraries are installed for building and for running your bot:
| Libraries | Used by |
|---|---|
| Cairo, Pango, libjpeg, giflib, librsvg, fontconfig & DejaVu fonts | Drawing images and text: canvas
, Pillow, CairoSVG |
| libpq | PostgreSQL clients: psycopg2
, pg-native
|
| Opus, libsodium | Voice audio: discord.py and its forks, Go Opus bindings |
| OpenSSL, libffi | Packages that use OpenSSL or cffi
|
Dedicated slots also include ffmpeg
. If a package needs a library that isn't listed, its build log names the missing file. Email [email protected] with the package name and we'll look at adding it.
Private packages
If your bot installs packages from a private npm registry, such as GitHub Packages, or from a private Python index, add it under Builds → Private packages:
- npm (Node.js & Bun): Enter the registry's address and a token. Add a scope like
@acmeto use the registry only for packages in that scope. Without a scope, it replaces the public npm registry for every package. For GitHub Packages, the address ishttps://npm.pkg.github.comand the token is a personal access token that can read packages. - Python: Enter the index address (it usually ends in
/simple) and the username and token it gives you. If your index takes the token on its own, leave the username blank. Packages are looked up there as well as on the public Python index.
Tokens are encrypted, hidden once saved, and only used while your bot builds: your running bot never sees them, and they're blanked out of build logs. Registries need an https://
address on the standard port, and each bot can have up to five. Packages installed straight from a private Git repository aren't supported, so publish them to a registry instead.
.npmrc
that read a token from an environment variable, like //npm.pkg.github.com/:_authToken=${NPM_TOKEN}
, are skipped and the token you saved is used instead. Your registry and scope lines still apply.
Headless browsers
Blip Host doesn't include Chrome or Firefox, so Puppeteer, Playwright, Selenium, and similar libraries can't launch a browser of their own. Builds point these libraries out, and the dashboard shows a warning.
They can still connect to a browser hosted elsewhere, with puppeteer.connect()
or Playwright's connectOverCDP()
. For screenshots or page content, a screenshot API over HTTPS works too, or fetch the page with an HTTP client and parse it with a library like cheerio or Beautiful Soup.