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

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -