[[solved]]connect Android browser to local JBOSS server

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

[[solved]]connect Android browser to local JBOSS server

Postby shaildyp » Thu Oct 09, 2008 5:36 am

Hello +-

I am new to Android networking. I have tried to connect Android browser with local machine JBOSS server but got error. Process I followed,
set user permission "android.permission.INTERNET" in manifest file.
telnet>redir add tcp:8080:4444 error: can't setup redirection, port probably used by another program on host
URL for browsre : http://192.168.1.xx:8080 error : browser halt for indefinite time.
URL for browsre : http://10.0.2.15:8080 error : web page not available.

Regards
shaildyp
Last edited by shaildyp on Thu Oct 23, 2008 11:43 am, edited 1 time in total.
shaildyp
Freshman
Freshman
 
Posts: 5
Joined: Tue Sep 30, 2008 10:29 am
Location: India

Top

Postby shaildyp » Thu Oct 09, 2008 3:15 pm

Hello community,

javascript:emoticon(':idea:') Couldn't find any simple way so I create a PIPE to access JBOSS bu Android Browser
on Android browser url will be http://192.168.1.xx:6565/webapp or even directly access JBOSS home by http://192.168.1.xx:6565.
If any of you have better idea please post.

I use following link http://hc.apache.org/httpclient-3.x/tutorial.html (You have to download some jar else just use java.net package).

Thanks,
shaildyp
Attachments
New Text Document.txt
(2.02 KiB) Downloaded 90 times
shaildyp
Freshman
Freshman
 
Posts: 5
Joined: Tue Sep 30, 2008 10:29 am
Location: India

Postby shaildyp » Thu Oct 23, 2008 11:40 am

Hello community,

No reply!!! never mind, I found the solution.
Actually it is a JBOSS Problem noa an Android problem.
To solve, JBOSS has to bind with ip:192.168.1.xx by# /run.sh -Djboss.bind.address=192.168.1.99
Previously it was for localhost/127.0.0.1
shaildyp
Freshman
Freshman
 
Posts: 5
Joined: Tue Sep 30, 2008 10:29 am
Location: India

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 2 guests