Jul
10
answered Multiple SLF4J Spring Boot Error
Jul
8
asked Multiple SLF4J Spring Boot Error
Jul
8
asked Karma Unit Test Error [Phantom Browser]
Jun
5
accepted java.net.BindException: Cannot assign requested address
Jun
5
comment java.net.BindException: Cannot assign requested address
Sorry, today I try it again and it working well. I do not know why yesterday it was not working, maybe I missed something. Thank you for the answer.
Jun
4
comment Multithread using Executor and WebSocket
ok, thank you for your recomendation
Jun
4
revised Multithread using Executor and WebSocket
changing tag
Jun
4
revised Multithread using Executor and WebSocket
edited title
Jun
4
asked Multithread using Executor and WebSocket
Jun
3
comment java.net.BindException: Cannot assign requested address
The listener on at 0.0.0.0:162, but when I try send trap to real ip (public ip->124.81.xx.xx), the trap is not catched
Jun
3
comment java.net.BindException: Cannot assign requested address
oh, the ip address is a public ip. My server only has this one ip, whereas when I try to bind/listen on localhost ip (127.0.0.1:162), the trap cannot catched. How can I solve this. Fyi, I am not the admin of networking
Jun
3
comment java.net.BindException: Cannot assign requested address
Yes, ip address of localhost (124.81.xx.xx:162)
Jun
3
comment Binding Low Port to Java Program on Ubuntu Server
Oh., ok. I post it in new thread stackoverflow.com/questions/30611516/…
Jun
3
asked java.net.BindException: Cannot assign requested address
Jun
2
comment Binding Low Port to Java Program on Ubuntu Server
My problem now is this error: java.net.BindException: Cannot assign requested address. My host config: 127.0.0.1 localhost 127.0.1.1 test-server 124.81.xx.x test-server.com
Jun
1
comment Binding Low Port to Java Program on Ubuntu Server
Is it mean that I must configure it in server.xml? Adding port maybe? Sorry newbie :)
Jun
1
comment Binding Low Port to Java Program on Ubuntu Server
i had try to change tomcat7 as root, but I got error java.net.BindException: Cannot assign requested address. My host config: 27.0.0.1 localhost 127.0.1.1 test-server # The following lines are desirable for IPv6 capable hosts #::1 localhost ip6-localhost ip6-loopback #ff02::1 ip6-allnodes #ff02::2 ip6-allrouters 124.81.xx.x test-server.com
Jun
1
comment Binding Low Port to Java Program on Ubuntu Server
So it's need to change tomcat group on /etc/default/tomcat7. I still not try it, or maybe in another configuration file
Jun
1
comment Binding Low Port to Java Program on Ubuntu Server
Do you mean to change the tomcat7 user group to be root? (on /etc/default/tomcat7), in another thread said that it is not recommended. I have check if the port is listened, the port is unused. I had also try this mprabhat.com/2012/11/05/…, but not solving the problem
Jun
1
comment Binding Low Port to Java Program on Ubuntu Server
The problem is on my snmp-listener, I want it on at port 162. There is no problem with my tomcat. Or is it also configured in server.xml?
1 2 3 4 5