Giter Club home page Giter Club logo

Comments (7)

edwin-huber avatar edwin-huber commented on August 15, 2024 1

I also checked my local execution policy, mine is set to RemoteSigned.

from azurite.

edwin-huber avatar edwin-huber commented on August 15, 2024

Hi Craig,

Have you performed any hardening or are you using any special security software?
It might just be your Windows Defender / Firewall settings.

We might need to use the sysinternals tools to check why the functions can’t just create a listener on the required ports without admin mode.
Are you familiar with it’s use?
https://docs.microsoft.com/en-us/sysinternals/downloads/procmon

Do you have problems with any other apps?

“Works for me” isn’t really helpful here, other than I have a standard windows 10 install on 2 different machines and always start from powershell / conemu without issues.

I assume that you are not trying to run the Azure Storage Emulator at the same time as Azurite.

from azurite.

craxal avatar craxal commented on August 15, 2024

No, I haven't done anything special with security settings or hardware. It's just a build of Windows 10. I've heard of Process Monitor before, but I've never used it. None of my other applications have had this problem before, including Node applications. No other emulators are running.

from azurite.

craxal avatar craxal commented on August 15, 2024

Ah ha, I just figured it out. My PowerShell had the Bypass execution policy. I just tried setting the execution policy to RemoteSigned. Now Azurite works as intended.

At the very least, I think it's worth adding a note to the documentation. PowerShell is now the default Windows command prompt, so informing users of the minimum execution policy Azurite needs to work properly would be beneficial.

from azurite.

searus avatar searus commented on August 15, 2024

For me, the problem was something in my system already using that port.
I checked the source code and figured out a command for changing the port numbers when starting:

azurite -p 11000 -q 11001 -t 11002

from azurite.

searus avatar searus commented on August 15, 2024

With hindsight, it is kind of obvious that I had the official emulator running which was using the ports.
What I was hoping I could do was use Azurite to simulate multiple local accounts to avoid clashing of container names across multiple projects.
Not sure if this is possible though...

from azurite.

edwin-huber avatar edwin-huber commented on August 15, 2024

you can simulate multiple accounts, you just need to start Azurite with different local paths.

from azurite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.