拼接成完整访问 URL(注意:path 要传绝对路径)
String urlForFile(String absPath) => 'http://127.0.0.1:$port${Uri.encodeFull(absPath)}';