Cannot enable Servlet access in Spring Boot 2.7.18+Dubbo 3.3.6+JDK 8 environment
- Dominant language
- CSS
- Stars
- 491
- Forks
- 809
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 6
Description
The development environment is Spring Boot 2.7.18+Dubbo 3.3.6+JDK 8, and the IDE tool is Vs Code1.107.1. Follow the instructions in the link: https://github.com/apache/dubbo-samples/tree/master/2-advanced/dubbo-samples-triple-servlet#how-to-enable-servlet-support-for-triple, to enable Servlet access mode, reuse the existing Servlet listening port of Spring Boot to access HTTP traffic without Netty listening to the new port. When starting, an error message is reported stating that the port is already occupied, as shown below.How can I solve this problem.
java.lang.RuntimeException: java.lang.RuntimeException: org.apache.dubbo.remoting.RemotingException: Failed to bind NettyPortUnificationServer on /0.0.0.0:6060, cause: Address already in use: bind
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the linked dubbo-samples 2-advanced/dubbo-samples-triple-servlet example, especially the “How to enable servlet support for Triple” section, and reproduce it in the stated Spring Boot 2.7.18, Dubbo 3.3.6, and JDK 8 environment. Investigate the reported Netty bind failure on port 6060; done means the documentation explains the cause and provides a verified resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100