android - Is there a way to specify a URI other than localhost for webbit? -


so trying create server in android application onto remote uri , tried using createwebserver(), seems doesn't work because cannot access address on computer.

server = webservers.createwebserver(executors.newcachedthreadpool(), new inetsocketaddress(hostname,port), uri.create(hostname + ":" + port)); 

does know how using webbit?


Comments

Popular posts from this blog

javascript - JS causing window size to be bigger than necessary - Dropdown bug -

php - Calling a template part from a post -

How to mention the localhost in android -