- Home /
Cache Server in local mode - connect failed
I am running Unity 5.5.2 Personal (64bit) and trying to get the Cache Server working. The cache server is running in a command window, no arguments, output claims it is ready:
...
Cache Server version 5.3
Cache Server on port 8126
Cache Server is ready
But in Unity when I set the cache server mode to Local (Edit -> Preferences -> Cache Server), I get this error:
Socket: connect failed, error: No connection could be made because the target machine actively refused it.
There is no additional output in the command window.
Does anyone know what the problem is?
Answer by gamenastics · Nov 07, 2017 at 09:49 PM
I am on a windows machine, and always had the same connection error. Then i tried to put the Server cachefolder on the root of a drive with a folder name without spaces (i.e. D:\cacheserver). Then the error was gone. In first place i thought it was a coincidence. So second time i put a space between the folder name after restart the error came back, removing the space in the name and restarting resolved the problem for me.
so when i looked to the default cache folder, that is in the usersprofile, that one contains space, i think thats why the error is trown. not sure but for me my workaround works. hope someone find it usefull.
Yes, this really helps. Thank you. BTW if you really need something like spaces - just use underscores. Someting like "cache_server". This is much more readable.
Your answer
Follow this Question
Related Questions
How to change color of collider 1 Answer
Running Out of Disk Space When Importing Assets. 2 Answers
Unity editor PreferenceItem creation at runtime possible? 1 Answer
How can I change the color of the camera border in the editor? 2 Answers
Is there a way to remove an IDE option from the external tools, external editors drop down 0 Answers