Comments (3)
Did you uninstall the original version of Node before installing NVM for Windows? If you didn't, and if C:\Program Files\nodejs
was still referenced by the original installation, then the symlink creation would be blocked by the original installation. This means your firewall would only apply to the old node.exe, not the one managed by NVM4W.
To be clear, you have to specify the symlink location for the node.exe, not the physical path. Otherwise Windows Firewall will ignore the rule.
To test your environment, I would recommend opening a port on the firewall, then running your app with the NVM4W version of node on that port. In other words, don't restrict the firewall the node.exe file. If this works, then it is likely a path issue (as described above).
from nvm-windows.
Thank you for replying @coreybutler
Yes, I had uninstalled the original nodejs and even made sure that the nodejs directory is removed from the Program Files directory on the server PC. After nvm installation, all commands of nvm/node is working as expected - except for the firewall issue.
I experimented on another machine. Here , if I allow
C:\Users<user>\AppData\Roaming\nvm<v>\node.exe in windows firewall - then I am able to acccess node from another PCs.
Allowing, C:\Program Files\nodejs\node.exe did not.
Anyway, this means nvm is working with Windows Firewall !
Now I have to find out why the same outcome isn't occurring on my server.
Thanks.
from nvm-windows.
@Ajitweb I'm glad you found clarification.
FWIW, C:\Program Files
is a protected directory on Windows. It's not uncommon for Windows to require different privileges to make changes there. So, it could be a user permission issue instead of a firewall permission issue. The Wiki/common issues have a lot of notes about this. If you find yourself without a solution, trying setting the symlink to a different directory, like C:\nodejs
. The big difference is that isn't a protected directory, so you can at least eliminate the OS restriction variable.
from nvm-windows.
Related Issues (20)
- [Issue]: unable to install latest node HOT 1
- [Issue]: Invalid settings generation on install when user name contains non-ASCII characters HOT 6
- [Issue]: npm install -g @vue/cli 'vue' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 HOT 1
- [Issue]: `nvm use` command does not select any version HOT 4
- [Issue]: version changing and alternative try install.ps1 file miss issue HOT 4
- [Issue]: nvm.exe hangs when started by TeamCity because Stdout is not a character mode device HOT 3
- [Issue]: Unable to accept license agreement on the installation dialog HOT 1
- [Issue]: Symlink seems not working in exFAT filesystem HOT 2
- [Issue]: An existing connection was forcibly closed by the remote host. HOT 3
- [Issue]: Doesn't function correctly when settings.txt isn't ascii format HOT 2
- [Issue]: npm i taking to long when running through nvm-windows HOT 3
- [Issue]: NVM for Windows should be run from a terminal such as CMD or PowerShell. HOT 4
- [Issue]: nvm use command does not select certain versions HOT 3
- [Issue]: Why did my Anaconda folder get deleted after installing NVM on Windows? All my environments are gone! HOT 18
- [Feature]: Add "Details" metadata to the nvm.exe HOT 1
- [Issue]: Get "https://nodejs.org/dist/latest-v18.x/SHASUMS256.txt": write tcp 10.0.0.10:59499->104.20.22.46:443: wsasend: An existing connection was forcibly closed by the remote host. HOT 9
- [Feature]: add `nvm install` to the command line syntax help HOT 1
- [Feature]: Proper Documentation HOT 1
- [Issue]: unins000.exe not present in installation path (NVM_HOME). HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvm-windows.