1) To start POX, go inside the POX folder
$sudo python ./pox.py py
or
$sudo python ./pox.py py openflow.discovery forwarding.l2_learning
2) If it says address already in use
Find what application/process is using the pro, type:
$sudo netstat -lpn |grep :6633
You will get an output similar to this one
tcp6 0 0 :::6633 :::* LISTEN 6782/java
I have got the process Id, which is 6782, now this is the process that is using port 6633. To Kill the process, type
$sudo kill 6782
3) Stop POX
POX > exit ()
If you forget it, then next time
$sudo killall controller
$sudo python ./pox.py py
or
$sudo python ./pox.py py openflow.discovery forwarding.l2_learning
2) If it says address already in use
Find what application/process is using the pro, type:
$sudo netstat -lpn |grep :6633
You will get an output similar to this one
tcp6 0 0 :::6633 :::* LISTEN 6782/java
I have got the process Id, which is 6782, now this is the process that is using port 6633. To Kill the process, type
$sudo kill 6782
3) Stop POX
POX > exit ()
If you forget it, then next time
$sudo killall controller
Ah after trying so many things this one works for me. Thanks to u :)
ReplyDelete