严重: StandardServer.await: create[8005]:
java.net.BindException: Cannot assign requested address: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.(ServerSocket.java:185)
使用DOS命令netstat -an查看被占用的端口,并未发现有任何程序占用Tomcat使用的相关端口,并且将Tomcat安装目录下的conf/server.xml文件中的端口改为其他端口,再次运行也无法正常启动,可以判断应该不是端口占用引起的问题。
如果不是端口占用的问题的话,那么就要考虑是否是IP绑定的问题了,经过检查,在服务器计算机的C:\Windows\System32\drivers\etc\hosts
文件中发现如下部分内容:
# localhost name resolution is handled within DNS itself.
127.0.0.1 localhost
192.168.1.188 localhost
192.168.1.188是一个不存在的本地IP地址,将hosts文件中的第二行内容192.168.1.188 localhost
去掉后,再次启动TOMCAT,发现运行正常!
在服务器领域,一台计算机配置多个IP地址是比较常见的。Tomcat在启动时,会根据配置去获取所有的IP地址,并且进行逐个绑定,当发现需要绑定的IP地址不存在时,将会触发上述异常,从而导致无法正常启动。
相关推荐
Mar 21 21:25:02 VM_0_9_centos httpd: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 Mar 21 21:25:02 VM_0_9_centos httpd: (98)Address already in use: AH00072: make_...
ExcelR_assign_1 作业_1_set1
底层报错 error:cannot assign requested address 原因 并发场景下 client 频繁请求端口建立tcp连接导致端口被耗尽 解决方案 root执行即可 sysctl -w net.ipv4.tcp_timestamps=1 开启对于TCP时间戳的支持,若该项...
图书搜索演示利用搜索书籍和显示封面图像的Android应用。 它还允许您向朋友推荐书籍。 有关分步教程,请参见我们的注解中的教程。 该应用程序由两个屏幕组成。 第一个屏幕显示书籍列表,其中,每本书均由书名,作者...
Cannot assign configuration entry 'pluginArtifacts' with value '${plugin.artifacts}' of type java.ut
name : ' Auto Assign 'on : pull_request : types : [opened, ready_for_review]jobs : add-reviews : runs-on : ubuntu-latest steps : - uses : kentaro-m/auto-assign-action@v1.1.2 with : configuration-path...
teams[0] 或 store._teams[0]._tasks[0] 的方法:_tasks [:attributes, :parent, :path, :persistor, :options, :_id, :_id=, :options=, :attributes=, :assign_attributes, :method_missing, :assign_attribute, :...
问题描述: 当想替换字符串内的部分习惯表述时报错,源码如下: num1 = int(input(请输入起始序数n1:)) num2 = int(input(请输入结束序数n2:)) fuc = input(请输入以n为变量的通项公式(eg:2*n+1):) ...
# .github/workflows/auto-author-assign.yml name : ' Auto Author Assign ' on : pull_request_target : types : [opened, reopened] jobs : assign-author : runs-on : ubuntu-latest steps : - uses : ...
特征JSON.parse(JSON.stringify(对象)) 传播算子/ Object.assign 嵌套对象深层复制 :check_mark: :cross_mark: :check_mark: :cross_mark: :check_mark: :check_mark: :cross_mark: :cross_mark: :check_mark: ...
中通服java笔试题种子代码 - 步骤 1 的样板 - 数据库引擎分配 问题陈述 作为构建实用程序以从原始数据中获取有意义信息的第一步 - **作为第一步,您应该能够解析(破译)我们的问题。...在我们的计算术语中,我们称之为...
assign LCD_BLON=1;//这里要么不设置数据类型,要么设置为wire assign LCD_ON=1;// 这里要么不设置数据类型,要么设置为wire always@(posedge CLOCK_50) if(counter==25000) begin clk_1k~clk_1k; counter; ...
指令中后第二、三个操作数均为寄存器时,需要判断LOAD的第一个操作数是否与这些指令的后两个寄存器有冲突 为一部分算数运算指令和逻辑运算指令 */ if((i_datain[15:11] == `ADD ||i_datain[15:11] == `ADDC ...
multiplexer using assign statement verilog code
如下所示: Building with Jack: out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/with-local/classes.dex FAILED: /bin/bash out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/with-...
name : ' Auto Assign 'on : pull_request types : [opened, ready_for_review]jobs : add-reviews : runs-on : ubuntu-latest steps : - uses : luisliuchao/alternate-assign-action@v1.1.2 with : configuration...
regmap 一些众所周知的好计算机架构,例如Microchip PIC产品线,或许多AVR处理器家族,都非常幸运,可以让架构师了解处理器寄存器文件之间战略性对接的... 如果您使用RegU64并且不积极地内联诸如add_assign类的内联帮
Encoder Using Assign Statements: Unlike a multiplexer that selects one individual data input line and then sends that data to a single output line or switch, an Encoder takes all the data inputs one ...
.If this is set to unsigned int on a DEC Alpha, this gives about a 20 speed up (longs are 8 bytes, int s are 4).