An agent? Why? A agent has sources, and that sources freely configurable. If you use syslog you have to define the port, an tail doesn't need one and so on. Or did you mean a collector? That will be done in flume-conf.xml best, Alex -- Alexander Lorenz http://mapredit.blogspot.com On Mar 13, 2012, at 3:01 AM, lulynn_2008 wrote: > Hi, > > how to start an flume agent with a specify port? > For example, I want to start agent1 with port 35863. > >