Hi Fujita: Actually, that's the strange part, I checked (and double checked) and there's no services running listening or already binded to port 8080.
Both "lsof" and "netstat" commands did not return anything for port 8080 tester@ubuntu1:~/ryu$ sudo lsof -i :8080 tester@ubuntu1:~/ryu$ sudo netstat -anpt | grep -i 8080 As a test, is it possible to change ryu-manager's default port from 8080 to something else? I took a quick look at the code, 8080 seems to be coded in multiple files. I have pretty much ruled over python environment now as I am using pyenv and are using the same local python installations to my /home/ directory as my Redhat machine (where the issue does not occur) Much Thanks Morgan Yang -----Original Message----- From: FUJITA Tomonori [mailto:fujita.tomon...@lab.ntt.co.jp] Sent: Wednesday, January 08, 2014 6:31 PM To: Morgan Yang Cc: ryu-devel@lists.sourceforge.net Subject: Re: [Ryu-devel] ryu-manager error on ubuntu 12.04 On Thu, 9 Jan 2014 00:51:55 +0000 Morgan Yang <morgan.y...@radisys.com> wrote: > Hi All: > > I'm seeing a strange issue on one of my Ubuntu systems. The python > environment is 2.7.3, after I installed ryu, I get an error stating port 8080 > is already being used. Looks like OF port confict instead of 8080. > ryu-manager > loading app ryu.controller.ofp_handler instantiating app > ryu.controller.ofp_handler of OFPHandler > hub: uncaught exception: Traceback (most recent call last): > File "/usr/local/lib/python2.7/dist-packages/ryu/lib/hub.py", line 48, in > _launch > func(*args, **kwargs) > File "/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py", > line 65, in __call__ > self.server_loop() > File "/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py", > line 88, in server_loop > datapath_connection_factory) > File "/usr/local/lib/python2.7/dist-packages/ryu/lib/hub.py", line 85, in > __init__ > self.server = eventlet.listen(listen_info) > File "/usr/lib/python2.7/dist-packages/eventlet/convenience.py", line 38, > in listen > sock.bind(addr) > File "/usr/lib/python2.7/socket.py", line 224, in meth > return getattr(self._sock,name)(*args) > error: [Errno 98] Address already in use > > However, I have no process' runnining listening to port 8080 > > lsof -i :8080 <- Returns blank > > However, ryu-manager runs fine on my redhat machine, which is also > running python 2.7.3 > > ryu-manager > loading app ryu.controller.ofp_handler instantiating app > ryu.controller.ofp_handler of OFPHandler > > > Does anyone have any ideas about this? > > > Much Thanks > Morgan Yang ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel