webs Posted September 27 Share Posted September 27 (edited) Armbianmonitor: https://paste.armbian.com/yojavudiju 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 September 27 by webs 0 Quote Link to comment Share on other sites More sharing options...
JohnTheCoolingFan Posted September 27 Share Posted September 27 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. 0 Quote Link to comment Share on other sites More sharing options...
webs Posted September 27 Author Share Posted September 27 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 : 0 Quote Link to comment Share on other sites More sharing options...
JohnTheCoolingFan Posted September 27 Share Posted September 27 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 0 Quote Link to comment Share on other sites More sharing options...
webs Posted September 27 Author Share Posted September 27 hey, so i fixed the issues with the comman : sed -i 's/\r$//' filename But i still cant reach the Server 0 Quote Link to comment Share on other sites More sharing options...
Solution webs Posted September 27 Author Solution Share Posted September 27 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 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.