Closed sachithmuhandiram closed 5 years ago
You can try to run ans application in the example directory, and understand the ans. Then try your application. -:)
Yes, I have tried. But I get nothing from server console or in request side when I run https_server
examples.
--2019-03-19 16:35:29-- https://10.0.0.2:7838/index.html
Connecting to 10.0.0.2:7838...
failed: Connection timed out.
Retrying.
Any update about my issue? I still get curl: (7) Failed to connect to 10.0.0.2 port 7838: Connection timed out
error.
http_server in example directory listen on 8089 port. why you connect to 7838?
I used https_server
example. It was given as an instruction to use curl --insecure https://10.0.0.2:7838/index.html
changed port to 8089
but still same, no connection.
Please try http_server example.
When I ran http_server
example
affinity to 0 core by default
EAL: Detected 8 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket_28128_286b749e360
EAL: Probing VFIO support...
USER8: LCORE[-1] anssock any lcore id 0xffffffff
USER8: LCORE[0] anssock app id: 28128
USER8: LCORE[0] anssock app name: http_server
USER8: LCORE[0] anssock app lcoreId: 0
USER8: LCORE[0] mp ops number 4, mp ops index: 0
open socket on ip:0.0.0.0 port: 8089
Then
# curl --insecure http://0.0.0.0:8089/index.html
->
curl: (7) Failed to connect to 0.0.0.0 port 8089: Connection refused
# curl --insecure http://10.0.0.2:8089/index.html
->
curl: (7) Failed to connect to 10.0.0.2 port 8089: Connection timed out
ping 10.0.0.2 from your client side, what is the result?
I use bare-metal server for this testing, and I can not ping from inside that server.
any update about my problem? any method to solve this problem?
This issue is related to your environment. Check it by yourself
ANS examples are running now, but still docker application is not bind to that port. http_server
examples were running. But when I try to bind Docker application to ans
IP, it fails
any update? still my Docker application can not bind to ans IP address.
You can google it how to run dpdk process in docker.
My requirement is opposite. I have an application developed using Docker. I need to bind dpdk-ans
IP address for that Docker application.
When I try to bind dpdk-ans
IP to erlang docker application, it can not identify.
Please update me. I have tried to many times to bind the port.
We have erlang application developed using Docker. When I try to bind that erlang application to
ans-ip
it doesn't bind.If I use
127.0.0.1
, erlang application works. What is the problem here?