xiaoxiwu / jcoap

Automatically exported from code.google.com/p/jcoap
0 stars 0 forks source link

Jcoap-Proxy is only listening to localhost #14

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. clone latest version of jcoap
2. run jcap Proxy: org.ws4d.coap.proxy.Proxy
3. send http request to various ip-adresses

What is the expected output? What do you see instead?
When i send http://localhost:8080 I see a incomming HTTP Request.
But when i try it with an ipv6 adress of an connected sensor 
http://[ipv6-ip]:8080 i can't see an incomming HTTP request, also doesn't work 
with a simple ipv4 http request.

What version of the product are you using? On what operating system?
working with ubuntu, connected contiki rpl-boarder-router and a reachable 
contiki based sensor

Please provide any additional information below.
netstat -tulpn output looks following:
tcp6       0      0 :::8080                 :::*                    LISTEN      
-   

I don't know why only requests to localhost are arriving the http NIO server

Original issue reported on code.google.com by robert.s...@googlemail.com on 24 Apr 2013 at 8:30