Noob needs help; Preemptive caching

Hi, I'm a total noob and this is my first post. I'm settin gup octoprint on my old windows 10 laptop through a youtube video and got the octo server to work but ater I put ' --host= 'my ip4'--port=5000' it doesn't go further then the 'preemptive caching' line as you can see under here.

What is the problem?

My cmd doesn't go further then this:
2021-09-26 12:07:40,657 - octoprint.plugins.softwareupdate - INFO - Fetching check overlays from https://plugins.octoprint.org/update_check_overlay.json
2021-09-26 12:07:40,657 - octoprint.server.util.watchdog - INFO - ... initial scan done.
2021-09-26 12:07:40,924 - octoprint.plugins.softwareupdate - INFO - Fetching check overlays from https://plugins.octoprint.org/update_check_overlay_py2.json
2021-09-26 12:07:41,566 - octoprint.plugins.discovery - INFO - Registered 'OctoPrint instance on Acerlaptop._http._tcp.local.' for _http._tcp.local.
2021-09-26 12:07:42,490 - octoprint.plugins.discovery - INFO - Registered 'OctoPrint instance on Acerlaptop._octoprint._tcp.local.' for _octoprint._tcp.local.
2021-09-26 12:07:42,490 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance on Acerlaptop for SSDP
2021-09-26 12:07:42,506 - octoprint.server - INFO - Listening on http://192.168.1.164:5000
2021-09-26 12:07:42,615 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2021-09-26 12:07:43,273 - octoprint.util.pip - INFO - Using "c:\python27\python.exe -m pip" as command to invoke pip
2021-09-26 12:07:43,273 - octoprint.util.pip - INFO - pip installs to c:\python27\Lib\site-packages (writable -> yes), --user flag needed -> no, virtual env -> no
2021-09-26 12:07:43,273 - octoprint.util.pip - INFO - ==> pip ok -> yes
2021-09-26 12:07:43,305 - octoprint.plugins.softwareupdate - INFO - Minimum free storage across all update relevant locations is 382.2GB. That is considered sufficient for updating.
2021-09-26 12:07:44,007 - octoprint.server.preemptive_cache - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://localhost:5000/'}
2021-09-26 12:07:44,602 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2021-09-26 12:07:45,825 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2021-09-26 12:07:52,430 - octoprint.server.preemptive_cache - INFO - ... done in 8.42s

What did you already try to solve it?

Look up other forum posts here that contain the word premptive caching without succes

Did you try opening localhost:5000 in your browser?

2 Likes

That is expected, preemptive cache is one of the last things that starts up.

1 Like

Yes I found out that i put a typo in the link... haha, works now thanks.

Yea true, there wasn't a issue haha. How do I acces it on my phone and other computers? It says acces denied.

My suspicion here is that you put the server's IP in the host section. Take both of these arguments out.

Port 5000 is the default anyway, so that doesn't matter. The host one is more important, as this defines 'which hosts the server is accessible from' in simple terms. If you put it as 127.0.0.1 or <actual IP> then it will not work from any other devices. The default is 0.0.0.0 which means 'everything', of course only on your local network.