AirPlay弄乱本地主机 [英] AirPlay messes up localhost
问题描述
[31 / Oct / 2014 05:40:42] code 400,message Bad request version 'RTSP / 1.0')
[31 / Oct / 2014 05:40:42]GET / info?txtAirPlay&txtRAOP RTSP / 1.0400 -
让服务器充满错误信息是很烦人的,所以如果有人有线索来解决这个问题,或者删除airplay,我会非常感激:)
我想我找到了答案:在 nmap 输出。原来苹果正在使用5000端口: 正如你所想象的是默认的Flask端口,只是将您的运行端口更改为5000以外的任何其他端口,并且此问题应该消失。这个Flask扩展 https://github.com/miguelgrinberg/Flask-Runner 可以让你的生活比硬编码更容易运行命令中的端口。 Since the last OSX update (Yosemite), my localhost server is full of error messages from airplay (but I am not using it). Each times it's the same: It's just annoying to have its server full of error messages so if anyone has a clue to fix that or to remove airplay, I would be very thankful :) I think I found the answer: On a cisco discovery forum they listed an As you can imagine this is the default Flask port, just change your running port to anything other than 5000, and this problem should disappear. This Flask extension https://github.com/miguelgrinberg/Flask-Runner can make your life much easier than hard coding the port in the run command. 这篇关于AirPlay弄乱本地主机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
pre $ $ $ $ $ $
$ b $ 3689 / tcp打开daap Apple iTunes DAAP 11.0 .1d1
5000 / tcp打开rtsp Apple AirTunes rtspd 160.10(Apple TV)
7000 / tcp打开http Apple AirPlay httpd
7100 / tcp打开http Apple AirPlay httpd
62078 / tcp打开tcpwrapped
5353 / udp打开mdns基于DNS的服务发现
[31/Oct/2014 05:40:42] code 400, message Bad request version ('RTSP/1.0')
[31/Oct/2014 05:40:42] "GET /info?txtAirPlay&txtRAOP RTSP/1.0" 400 -
nmap
output that revealed the Yosemite discoveryd port ranges. Turns out the Apple is using port 5000:PORT STATE SERVICE VERSION
3689/tcp open daap Apple iTunes DAAP 11.0.1d1
5000/tcp open rtsp Apple AirTunes rtspd 160.10 (Apple TV)
7000/tcp open http Apple AirPlay httpd
7100/tcp open http Apple AirPlay httpd
62078/tcp open tcpwrapped
5353/udp open mdns DNS-based service discovery