poo123
poo123

Reputation: 69

how to get emulator port number in program?

i want to get android emulator port number in program how do i get it????

Upvotes: 0

Views: 3074

Answers (2)

Deval
Deval

Reputation: 41

Execute the command

netstat -aon

from command prompt. You will get all the PDIs and port numbers used by them. You can see the PID for emulator from task manager or use the command

tasklist

The process name is 'emulator-arm.exe'

Upvotes: 4

Gabe
Gabe

Reputation:

By using the netstat command

Upvotes: 0

Related Questions