Reputation: 570
I built a website using ASP.NET web-api to receive some http post data sent to my static ip address. Everything is fine when I tested it on localhost. But it doesn't work when I deployed the website with my static ip address 164.67.192.249:8888
.
After I deployed it, I used wireshark to capture the http post packet and find I do get the packet send to my ip address with correct path (/api/recv).
I also used fiddler to generate a http post with same format and sent to 164.67.192.249:8888/api/recv
and I successfully received the packet and save it to database.
I don't know how to solve this problem. Any suggestion is welcome!
Upvotes: 0
Views: 68
Reputation: 570
I solved this problem by close wireshark. It turns out that wireshark may block the post for some reason.
Upvotes: 0