Bharvari, about 40 kilometers away, is the nearest railway station. You can even hire a taxi or go by bus from major cities in Uttar Pradesh. The other option is to take a train to Allahabad which is well connected to many cities in the country, including Mumbai, Pune, Varanasi, Jhansi, Gwalior and Nagpur. From Allahabad, you can take a public transport bus or hire a taxi to reach Prabhas Giri.
Railway Stations in Prabhas Giri