Flume Unable to bind to socket. Exception follows


#1

problem:
Unable to bind to socket. Exception follows.
java.net.BindException: Cannot assign requested address

configration file
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
a1.sources=r1
a1.sinks=k1
a1.channels=c1

a1.sources.r1.type=http
a1.sources.r1.bind=localhost
a1.sources.r1.port=50000

a1.sinks.k1.type = hdfs
#指定hdfs地址中的输出目录
a1.sinks.k1.hdfs.path = hdfs://xx.xx.xx.xx:8020/tmp/%Y-%m
a1.sinks.k1.hdfs.writeFormat = Text
a1.sinks.k1.hdfs.fileType = DataStream
a1.sinks.k1.hdfs.rollInterval = 60
a1.sinks.k1.hdfs.rollSize = 0
a1.sinks.k1.hdfs.rollCount = 0
a1.sinks.k1.hdfs.filePrefix = %Y-%m-%d-%H-%M
a1.sinks.k1.hdfs.useLocalTimeStamp = true

a1.channels.c1.type=memory
a1.channels.c1.capacity=1000
a1.channels.c1.transactionCapacity=100

a1.sources.r1.channels = c1
a1.sinks.k1.channel = c1

who can help me