java - Java HttpUrlConnection 未连接到 000webhostapp
问题描述
URL url = new URL("http://subdomain.000webhostapp.com");
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
connection.getInputStream():
但是程序为http错误代码400给出了ioexception。我的浏览器也是,它无法连接000webhostapp
解决方案
推荐阅读
- node.js - 无法使用 VUE 公共文件夹中的 png 图像
- python - Selenium,我执行时如何不打开隐身模式
- javascript - Flow 抱怨无类型导入
- java - 限制类及其成员的可访问性是否是更安全代码的有效做法?
- swiftui - 按下按钮后如何创建指令提示?
- c - SDL_GetError() 在 macOS 上返回一个未记录的错误
- php - ajax jquery在onclick事件jquery中将字符串作为参数传递
- asp.net - Send data as multipart/form-data
- docker - 在 jboss/keycloak 上安装软件包
- c++ - 如何在父形状中获取数字索引/位置(OpenCascade)