首页 > 解决方案 > Java HttpUrlConnection 未连接到 000webhostapp

问题描述

URL url = new URL("http://subdomain.000webhostapp.com"); 
HttpURLConnection connection = (HttpURLConnection) url.openConnection(); 
connection.getInputStream():

但是程序为http错误代码400给出了ioexception。我的浏览器也是,它无法连接000webhostapp

标签: javahttprequest

解决方案


推荐阅读