MSzturc / obsidian-advanced-slides

Create markdown-based reveal.js presentations in Obsidian
https://mszturc.github.io/obsidian-advanced-slides/
MIT License
939 stars 80 forks source link

Change default port #269

Open hyperupcall opened 8 months ago

hyperupcall commented 8 months ago

Describe the bug

The default port is 3000. By choosing this default, this automatically conflicts with a common port used for development servers. It is possible for each individual to change the default, but it does not make much sense to keep port 3000 if many people must change it.

Samples to Reproduce

Install extension.

Expected behavior

Use a a less-common port number

stratosgear commented 8 months ago

There is a specific port setting in the Options. Why don't you changed it?

hyperupcall commented 8 months ago

I did change this, but I filled this behavior as a bug, because 3000 is too-common a port. This default could be chosen better to prevent conflicts

KennyDenvers commented 7 months ago

Hi guys, unfortunately I am not very familiar with ports in general. I was surprised to see that the Advances Slides plugin apparently was trying to access my web development directory -- something that I am just starting to learn about. I found out that port 3000 was somehow used for development (as hyperupcall mentioned above). I changed the port to 3002 (and later to something else) but I continually got a black screen and Obsidian crashed. I have searched the forum and the other issues here for something else on ports but couldn't find anything helpful. Would you have any advice for me possibly?

hyperupcall commented 7 months ago

@KennyDenvers Changing default ports worked for me, so I'm not quite sure what could be the problem. First thing I would do is restart Obsidian/computer, or maybe restart whatever service is on port 3000.

KennyDenvers commented 7 months ago

@hyperupcall Thanks for your response! Restarting computer and Obsidian did not help -- but fortunately de- and reinstalling Adv. Slides did! 😅