dangdangdotcom / dubbox

Dubbox now means Dubbo eXtensions, and it adds features like RESTful remoting, Kyro/FST serialization, etc to the Dubbo service framework.
http://dangdangdotcom.github.io/dubbox
Apache License 2.0
4.89k stars 2.06k forks source link

外部tomcat启动dubbox 访问不到端口? #222

Open jansse-zhao opened 7 years ago

jansse-zhao commented 7 years ago

dubbox服务端口配置的8888,tomcat默认端口8080,测试项目启动访问不到8888什么情况?

misselvexu commented 7 years ago

if you use external servlet container , your rest export port and context path must be same with external servlet container's port and context path ;

Example Code: <dubbo:protocol name="rest" port="8888" contextpath="example"/>

You external Servlet Container Port must be :8888; webapps context path must be (example.war) : example;