Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm developing websites and I want to preview the ones from localhost on my Nexus7.

share|improve this question

closed as not a real question by Mik, devav2, Ringtail, Stephen Myall, belacqua Nov 2 '12 at 15:36

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Can you add a little more context? Thanks. –  belacqua Oct 30 '12 at 16:03
    
Really this question is generic to any Android device, rather than specific to Nexis 7. How are you connecting? WiFi, USB, etc. –  david6 Oct 31 '12 at 3:50
    
What do you mean with localhost, is it 127.0.0.1, then you can't. Other IP addresses of your machin can be seen with the command 'ip addr'. –  Anders Oct 31 '12 at 5:34

1 Answer 1

On your Ubuntu machine, find your local IP address. One way of finding this is by using the ifconfig terminal command, where it is displayed as inet addr under the interface you're currently using to connect to the network. Point the browser on your Nexus 7 to that IP address, and the web page should be displayed.

share|improve this answer
1  
A side note to this, just make sure that both the tablet and PC are on the same network. –  reverendj1 Oct 30 '12 at 15:24

Not the answer you're looking for? Browse other questions tagged or ask your own question.