MajorM logo
MajorM
Create
Roadmap
Feedback
Bugs
2
Changelog
complete
Visit our changelog to read the official release notes 🎉
Voters
member badge
Michael
and 1 more...
Powered by Canny
Cannot connect to local mongo instance (windows)
complete
member badge
Michael
May 25, 2023
member badge
Michael
marked this post as
complete
·
June 3, 2023
·
Reply
member badge
Michael
Solution: https://twitter.com/MajorM_app/status/1664949975384465408?s=20
·
June 3, 2023
·
Reply
member badge
Michael
Andy Gee
https://www.loom.com/share/3e047063db914470b540b5e9578d7fa9
The app now shows a message when localhost fails, then asks for you to replace with 127..
·
June 3, 2023
·
Reply
member badge
Michael
So this works instead, not using 'localhost' but 127.0.0.1 directly
·
May 25, 2023
·
Reply
member badge
Michael
marked this post as
in progress
Localhost does not point to 127.0.0.1.
When the user points to localhost, then the app cannot find the mongo connection, because localhost points to ::1:
·
May 25, 2023
·
Reply
A
Andy Gee
Michael: Yes that's the same ping response I'm getting. It works fine with the IP and I've set up a local DNS record that works well too
Thanks very much for having a look at this for me.
Perhaps a solution would be a notification after a failed localhost test, followed by a 127... test that asks the user if they want to use 127... and have it change the field and run the test.
·
May 25, 2023
·
Reply
member badge
Michael
Andy Gee: Yes, that's a good idea. I'm still thinking about an elegant and good UX solution.
I will post updates here later
·
May 27, 2023
·
Reply
Powered by Canny