baidu / baidu/AnyQ

远程访问web服务时连接不通,但是可以ping通

Open
#246 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.6k
Forks
657
PR merge metrics
No merged PRs in 30d

Description

运行起run_server之后,在另一个ip下的机器使用curl -X POST xxxx:8999/anyq -d '{"question":"您好"},显示curl: (7) Failed to connect to xxxx port 8999: No route to host.
该ip可以ping通,请问是什么原因,应该怎么解决

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported setup: run run_server, then use curl from another IP against the /anyq endpoint on port 8999 while confirming that ping succeeds. Check the project’s server and networking entry points for how the service binds and accepts remote connections. Done means the remote POST request connects successfully and receives the expected service response.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.