Manictime folder5/17/2023 ![]() ![]() I use only one user in Windows with admin privileges. ![]() So if I will run the server on my own PC I have to give my user/password to my friends. Because we don't have separate machine to run MT Server we decide to use one of our own PCs. We want to track our time spent on the project and to keep it in one place (in MT Server DB). It's better to discuss that in the other thread but let me tell you why that is not good solution.Ĭonsider the following use case. I guess its the same as remote desktop, when you connect to some machine you use credentials of that machine, not the machine you are using at the time. Should allow you to connect from any machine to this machine. If you connect from another machine, just use the user on the machine where the server is running. You don't need to create another user, in fact I'd say that is quite the opposite of our intent because now MT will track two users for you. I'll go through the list you mentioned in another post, one quick comment though. I'm not so familiar with CMD so I don't want to run some commands that I don't know how to revert later.Įdited by user Saturday, Decem1:18:06 PM(UTC) I know the command "netsh advfirewall firewall add rule." that is already in the docs do the same but I suggest to add this (quoted) instructions to the docs because I know how to revert the changes if i follow this instruction. I found the solution here in this thread. ![]() Then I spent a few hours to try to fix the problem, to read the docs and to search the forum. (it's the most related to my problem with the connection). I tried to find solution in the help at this page: At this moment I had completely forgotten about the skipped part. After a day I tried to connect my PC but there was a problem with connection. Everything was OK, I started to play with the server locally. So i skipped that part and moved ahead with the installation. In my case I installed the server according to instructions but skipped the "you can open Command prompt with Administrator privileges and then run the following command:" part because I wanted just to test the server and didn't want to add something to the firewall that I don't know how to remove later. Please add this instructions in documentation at this page:Īnd definitely you should add reference to this instructions here: Then it sends other requests for all activities on a particular day. For example to get a list of timelines MT sends this request to the server When it gets a request it checks the database and returns some data. It is just a normal web server listening for requests. You don't get a network share to their database, but rather your view of their database is through their website. Imagine Google, they have a huge database, but the way you connect to it is through web browser, so http protocol port 80. Imagine that the server is just an app which listens for requests on port 8080. How are the two computers connected? Is this a home network, connected through the same router or something else? It should ask you for a username and password. Try this in the browser on the other computer (you can also try it on the one running the server) On the other machine try connecting to it from a browser. With this you will allow connection to your computer on port 8080 Leave all checked (you probably could disable some of those, but I'm not an expert in administration.) Choose TCP and for specific port write 8080Ħ. For rule type choose port and click nextĤ. Right click Inbound rules, choose New ruleģ. Choose Windows firewall with advanced securityĢ. ![]() If it doesn't work, make sure it is not blocked by your firewall. To test the server I suggest just using the browser and navigate to It might work, but try putting it in some other folder like c:\ManicTimeServer or inside your documents folder. I wouldn't put it in Program files, since that folder is protected for writes. We'll try to make it more simple to install in the next few versions (installer would go a long way. ![]()
0 Comments
Leave a Reply. |