hy-soft
hy-soft

Reputation: 173

Access a test website in local LAN

I have one computer with test websites set up. I can access the test-sites from other computers.

Now I want to do some changes to make the sites mobile friendly.

I can not access the websites with my android mobile.

Problem 1: Can't edit /etc/hosts on my android

Problem 2: If I enter 192.168.2.77 in the URL Bar of a browser in any computer I get the master test site corrctly. Doing the same with the android device I just get a timed-out error.

any help apreciated

Upvotes: 0

Views: 279

Answers (1)

Skizo-ozᴉʞS ツ
Skizo-ozᴉʞS ツ

Reputation: 20626

Make sure that you've INTERNET permission in your manifest.xml file

<manifest>
<uses-permission android:name="android.permission.INTERNET" /> //this line of code
<application>
....
</manifest>

Upvotes: 1

Related Questions