当前位置:网站首页>踩坑:nacos利用startup.cmd -m standalone启动错误
踩坑:nacos利用startup.cmd -m standalone启动错误
2022-04-23 05:31:00 【正在努力打工...】
1.报错信息:
PS D:\SpringCloud\nacos\nacos\bin> startup.cmd -m standalone
startup.cmd : 无法将“startup.cmd”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,
请确保路径正确,然后再试一次。
所在位置 行:1 字符: 1
+ startup.cmd -m standalone
+ ~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (startup.cmd:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Suggestion [3,General]: 找不到命令 startup.cmd,但它确实存在于当前位置。默认情况下,Windows PowerShell 不会从当前位置加 载命令。如果信任此命令,请改为键入“.\startup.cmd”。有关详细信息,请参阅 "get-help about_Command_Precedence"。
PS D:\SpringCloud\nacos\nacos\bin>
2.解决方法:
Suggestion [3,General]: 找不到命令 startup.cmd,但它确实存在于当前位置。默认情况下,Windows PowerShell 不会从当前位置加 载命令。如果信任此命令,请改为键入“.\startup.cmd”。有关详细信息,请参阅 "get-help about_Command_Precedence"。
PS D:\SpringCloud\nacos\nacos\bin> .\startup.cmd -m standalone
"nacos is starting with standalone"
,--.
,--.'|
,--,: : | Nacos 1.4.1
,`--.'`| ' : ,---. Running in stand alone mode, All function modules
| : : | | ' ,'\ .--.--. Port: 8848
: | \ | : ,--.--. ,---. / / | / / ' Pid: 4992
| : ' '; | / \ / \. ; ,. :| : /`./ Console: http://192.168.174.1:8848/nacos/index.html
' ' ;. ;.--. .-. | / / '' | |: :| : ;_
| | | \ | \__\/: . .. ' / ' | .; : \ \ `. https://nacos.io
' : | ; .' ," .--.; |' ; :__| : | `----. \
| | '`--' / / ,. |' | '.'|\ \ / / /`--' /
' : | ; : .' \ : : `----' '--'. /
; |.' | , .-./\ \ / `--'---'
'---' `--`---' `----'
就是我按照提示在命令前面加上了一个 .
也就是输入了 .\startup.cmd -m standalone这个命令就启动好了。
(具体原因我也不知道是为什么)
3.踩坑2:
后来我复制他输出的网页(http://192.168.174.1:8848/nacos/index.html)使用360浏览器搜索,但是一直没有启动出来,直接是什么都没有显示的状态。
解决方法:后来我又换了一个 浏览器就可以搜索到页面了!
版权声明
本文为[正在努力打工...]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_43899452/article/details/124340013
边栏推荐
- Intel SGX preliminary learning and understanding notes (continuously updated)
- Excel 2016 cannot open the file for the first time. Sometimes it is blank and sometimes it is very slow. You have to open it for the second time
- 分支与循环语句
- egg的static的前缀是可以修改惹,靴靴
- Watch depth monitoring mode
- The title bar will be pushed to coincide with the status bar
- 巴普洛夫与兴趣爱好
- Write the declaration of a function to return the reference of the array, and the array contains 10 string objects (notes)
- CPT 104_ TTL 09
- How to set the initial value of El input number to null
猜你喜欢

selenium预先加载cookie的必要性

跨域CORS的情缘~
Basic knowledge of redis

2021-09-28

Uniapp wechat sharing

(11) Vscode code formatting configuration

Various situations of data / component binding

Use of uniapp native plug-ins

弘玑|数字化时代下,HR如何进行自我变革和组织变革?

Hongji | how does HR carry out self change and organizational change in the digital era?
随机推荐
egg中的多进程模型--egg文档搬运工
How to realize adaptive layout
Basic knowledge of redis
Arithmetic and logical operations
Getting started with varnish
2021-10-08
windows连接mysql出现ERROR 2003 (HY000): Can‘t connect to MySQL server on ‘localhost‘ (10061)
what is wifi6?
Xiuxian real world and game world
String class understanding - final is immutable
可执行程序执行流程
OSI层常用协议
Differences between auto and decltype inference methods (learning notes)
Similarities and differences between vector and array (notes)
Quick app bottom navigation bar
Necessity of selenium preloading cookies
World and personal development
可執行程序執行流程
npm升级后问题,慌得一批
Laravel routing settings