Jump to content

No connection to the CB1 over http


Go to solution Solved by webs,

Recommended Posts

Posted (edited)

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
  • webs changed the title to No connection to the CB1 over http
Posted

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.

Posted

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

Posted

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

  • Solution
Posted

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines