Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

No connection to the CB1 over http

Featured Replies

Hello all,

 

i have some trouble with my CB1 and perhaps any of you know a solution :).

 

I want to use the "Spoolman", a Database to watch my Filaments for 3d Printers.

 

All my pi´s are currently in use, so i took a BTT CB1 i never touched since i got them with one of my voron Printers xD.

 

I installed Armbian Server os i downloaded from this page, installed it and can connect with putty.

 

I installed Spoolman and tried to connect to the PI with my Browser, but i cant reached the "Website".

 

So i can ping from the PI into every other client into my LAN.

I can ping my PI from every Client in my LAN.

 

I can ping into the WAN , Googles dns answerd correctly.

 

But if i try to reach the PI with http , i cant ?

 

Perhaps anyone have an idea what i can do )

 

regards

 

Edited by webs

Solved by webs

  • webs changed the title to No connection to the CB1 over http

Hello! If a web server is actually running, you can access it by typing "http://<YOUR PI IP>:<PORT>" in your browser. You need to know the port that the server is bound to, it is usually specified in the documentation or server startup logs. As for the Pi IP, you seem to already know it. Just make sure that the Spoolman server is running and if you have mapped the port to a different one (common when using docker) make sure to use the right port number.

 

Pings only check access to a machine by it's IP, it doesn't use a specific port. The easiest way to check for a web server (http server) is by using a web browser, but in general you can use nmap to scan the opened and closed ports of a machine.

  • Author

Hey,

 

ty for the response but i know that i have to adress the server with his IP and Port, in case of Spoolman it is <IP Addr:7912> but it wont connect :

 

Spoolman_active.thumb.png.967b1dc10f7714d5e1e0face1be41af4.png

Spoolman_http.png

Looks like there is a problem with the .env file. From the error message, I suspect that the file uses windows-style newlines (newlines and carriage return ("\r")), but bash expects unix-style (just newline symbol). Try changing that and trying again, it is likely the start script is executing .env as a script file and because of these errors the server itself doesn't get started.

 

A good explanation with a number of ways to fix the problem: https://stackoverflow.com/questions/11616835/r-command-not-found-bashrc-bash-profile

  • Author
  • Solution

got it... i edit the .env file, the Host was set at 0.0.0.0 .... so i changed it to the correct Ip, now it works correct !

 

Ty for the fast help .

 

regards

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.