Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change default port #269

Open
hyperupcall opened this issue Oct 30, 2023 · 8 comments
Open

Change default port #269

hyperupcall opened this issue Oct 30, 2023 · 8 comments
Labels
bug Something isn't working

Comments

@hyperupcall
Copy link

hyperupcall commented Oct 30, 2023

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

@hyperupcall hyperupcall added the bug Something isn't working label Oct 30, 2023
@stratosgear
Copy link

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

@hyperupcall
Copy link
Author

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
Copy link

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
Copy link
Author

hyperupcall commented Nov 28, 2023

@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
Copy link

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

@brunojustino
Copy link

I would like to see this change too.

I know it's something easy to change on the configuration, but by the time you need to go there you already have a problem.

I was wandering why my docker app wasn't running to find out that advanced slides was using port 3000.

@hyperupcall
Copy link
Author

@brunojustino Thanks, I would recommend upvoting / thumbs-uping the OP for better visibility

@royemosby
Copy link

royemosby commented Jan 29, 2025

I just spent 45 minutes troubleshooting because of this after a conflict with json-server. It provoked a CSP violation in Firefox (but oddly didn't cause any conflicts in Brave) which I thought was caused by json-server.

Looking at Wikipedia page on ports, 3000 seems to be a pretty common number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants