Skip to main content

The 10 Best Hostels in Porto, Portugal

Some of the best backpacker spots in Porto

Filter by:


Review score

Superb: 9+ Very good: 8+ Good: 7+ Pleasant: 6+
Our top picks Lowest price first Star rating and price Top reviewed

See the latest prices and deals by choosing your dates.

Attractively set in the centre of Porto, Lost Inn Porto Hostel features air-conditioned rooms, a shared lounge, free WiFi and a terrace. Boasting a bar, the hostel is close to several noted attractions, around 500 metres from Ribeira Square, 600 metres from Palacio da Bolsa and 400 metres from Ferreira Borges Market. The accommodation offers a shared kitchen, a 24-hour front desk and luggage storage for guests.

It is a great hostel .With wonderful ,very nice, helpful personal . The location is very good . Spotless clean .I had the best stay in the hostel

Show more Show less
9.1
Superb
2,259 reviews
Price from
£25
per night

Onefam Ribeira is attractively situated in the centre of Porto, and features a shared lounge, free WiFi and a terrace. The property is around less than 1 km from Palacio da Bolsa, a 8-minute walk from Ferreira Borges Market and 800 metres from Oporto Coliseum. The accommodation offers a shared kitchen, and luggage storage for guests.

Popular points of interest near the hostel include Sao Bento Metro Station, Sao Bento Train Station and Ribeira Square. The nearest airport is Francisco Sá Carneiro Airport, 17 km from Onefam Ribeira.

I liked everything in the Hostel. The tradition they have with the Free dinner is very nice and the meals are really tasty. The staff is always there to help if needed and the organized group activities are fun. The location is perfect, next to the Cathedral, a few minutes walk to Sao Bento station and close to major tourist attractions.

Show more Show less
9.2
Superb
1,036 reviews
Price from
£25
per night

Featuring a garden, Sweet Swell in Porto is situated less than 1 km from Oporto Coliseum. The property is around a 13-minute walk from City Market Bolhao, 1.6 km from Lello Bookshop and 1.4 km from Paris Galleries Street. The property is set in the Bonfim district.

Everything is extra comfortable and structured, a great vibe to meet other travellers, but in the same time a calm place. Miguel, the owner, is extremely helpful and friendly, also he keeps everything very responsibly. Very clean, all the necessary utilities such as for cooking, an oven and a microwave, very convenient:) My highest recommendations! Also, the prices are nice=)

Show more Show less
9.3
Superb
1,124 reviews
Price from
£63
per night

The Passenger Hostel is located in the iconic S. Bento Train Station, within the UNESCO World Heritage area of Porto. It offers private and shared accommodation, a bar and free WiFi access.

Dorm rooms feature a private locker for each guest, a curtain for more privacy, a bedside power socket and an individual light. All rooms have access to shared bathrooms with a shower and a hairdryer.

Arriving to the hostel was very simple, and the arrival/check in directions were very clear. I loved the check in process and appreciated being shown how everything worked. The staff was friendly and welcoming as well. The bed was comfortable, as was the entire room. I didn't attend the scheduled event that evening, but I liked that they were available for travelers. In the morning, I was really impressed with the breakfast that was offered, especially since there were vegan options available as well.

Show more Show less
9
Superb
3,051 reviews
Price from
£31
per night

This hostel is located in the historical Aliados area in downtown Porto, in a restored 1930’s Art Deco building. It is 300 metres from the Porto Train Station and includes free Wi-Fi for all guests.

The bright rooms at the Rivoli Cinema Hostel have wooden floors and are all individually designed with film-inspired decor. Each has a shared bathroom and a balcony.

The staff was the best! Very nice and helpful people. The place feels modern, safe and clean. The location is great too, very close to the touristic attractions. Breakfast was very nice, they offered savoury and sweet food (breads, cereals and fruit) plus juice and coffee. All fresh and in a clean kitchen. Thank you very much! I really enjoyed my stay!

Show more Show less
9
Superb
3,794 reviews
Price from
£30
per night

Set in a 19th-century building, Gallery Hostel offers a modern, recently renovated air-conditioned rooms with free Wi-Fi. It has a 24-hour front desk a lounge area, a terrace and communal fully kitchen. Francisco Sá Carneiro Airport is 15 minutes’ drive away.

The location was easy to find. Very artistic street. Cca 10 minutes walking to a beautiful park! The bartender at the entrance was a real gentleman. Took my luggage to the reception. The building of the hostel is beautiful. The stairs to rooms, the paintings, the decorations <3 Rooms: I loved the way showers and toilets were thought through. Even though I stayed at the female dorm with 6 beds I felt quite a lot of privacy. Overall the whole hostel was not noisy at all. And in the room you get a big locker to store your luggage. Breakfast: Served in the restaurant downstairs, I had to order the day before but there was no problem in getting more food as the portions were on the smaller side (big thumbs up for not wasting food!). Very cozy atmosphere. And very kind staff working there. All were smiling. I admit, would even prefer to stay at this hostel over staying at a hotel. Next time I come to Porto this is definitely my choice Nr. 1 place to stay ^_^

Show more Show less
9.5
Exceptional
2,622 reviews
Price from
£32
per night

Ideally situated in the Campanhã district of Porto, OLOPO is situated 1 km from Campanha Train Station, 1.3 km from FC Porto Museum and 2 km from Oporto Coliseum. Among the facilities at this property are a shared kitchen and a shared lounge, along with free WiFi throughout the property. Some rooms at the property have a balcony with a city view.

At the hostel, rooms are equipped with a wardrobe. At OLOPO the rooms include bed linen and towels.

I recently stayed at O’LOPO hostel and it was awesome! I highly recommend it for anyone looking for a long or short term stay in Porto. One of the standout features of O’LOPO hostel is its fantastic atmosphere. From the moment I arrived, I was greeted by a warm and friendly staff who made me feel right at home🫶🏻They were always available to answer any questions I had and went above and beyond to ensure that my stay was comfortable and enjoyable. The rooms and common areas were always spotless, and the staff made sure to maintain a high standard of cleanliness throughout my entire stay. Good showers with hot water and good pressure. The kitchen was a big plus. It has everything you need. I saved money by cooking my own meals. The location was perfect, O’LOPO hostel is conveniently situated within a 10-minute walk of supermarkets, laundry, cafes, and both bus and train stations. This made it incredibly easy for me to explore Porto and its surrounding areas. Additionally, the hostel is located in a quiet area, and I always felt safe even when returning late at night. The only noise you can hear is your neighbors, everything inside the hostel is quite audible.

Show more Show less
9
Superb
230 reviews
Price from
£26
per night

Set in Porto, Casinhas no Carolina - Hostel features a garden, shared lounge, terrace, and free WiFi throughout the property. The property is situated 2.4 km from Sao Bento Metro Station, 2 km from Sao Bento Train Station and 2.6 km from Palacio da Bolsa. The accommodation offers a shared kitchen, an ATM and luggage storage for guests.

Everything. Room, breakfast and staffs are all nice and hospitable.

Show more Show less
9.6
Exceptional
571 reviews
Price from
£51
per night

Located in Porto and with Music House reachable within 2.6 km, Queen's Garden Hostel provides a garden, non-smoking rooms, free WiFi throughout the property and a shared lounge. Featuring a shared kitchen, this property also provides guests with a sun terrace. The hostel features family rooms.

the hostel was very cleans and the staff were so helpful and kind.bathrooms were also clean and separated as men and women which was great

Show more Show less
9.2
Superb
420 reviews
Price from
£28
per night

Attractively situated in Porto, The Central House Porto Ribeira features air-conditioned rooms, a shared lounge, free WiFi and a restaurant. Boasting a bar, the hostel is close to several noted attractions, around 100 metres from Ribeira Square, 400 metres from Palacio da Bolsa and 300 metres from Ferreira Borges Market. The accommodation provides karaoke and a 24-hour front desk.

Room was very spacious, even with it being a 10 person room, ample under bed storage with lock. It was nice to have own bathroom within room (2 showers and 2 toilets), great location, easy walking distance to most attractions

Show more Show less
8.6
Fabulous
3,189 reviews
Price from
£21
per night

Looking for a hostel?

Budget travellers know that there is no better way to make the most of their trip than by staying at a hostel: save money for exploring during the day, and swap stories with fellow backpackers in the shared kitchen or bar in the evening. Dorm-style bedrooms with shared bathrooms are standard hostel fare, but private rooms are also available for those willing to pay a bit more.
Search hostels in Porto

Most booked hostels in Porto this month

Save money on hostels in Porto – budget options available!

  • Sweet Swell
    Budget options available
    9.3
    Scored 9.3
    Superb
    Rated superb
     · 1,125 reviews

    Featuring a garden, Sweet Swell in Porto is situated less than 1 km from Oporto Coliseum.

    Amazing spot! It's easily accessible! Very tidy and clean!

  • Rivoli Cinema Hostel
    9.0
    Scored 9.0
    Superb
    Rated superb
     · 3,794 reviews

    This hostel is located in the historical Aliados area in downtown Porto, in a restored 1930’s Art Deco building. It is 300 metres from the Porto Train Station and includes free Wi-Fi for all guests.

    comfy room, great location , good price and good breakfast

  • OLOPO
    Budget options available
    9.0
    Scored 9.0
    Superb
    Rated superb
     · 230 reviews

    Ideally situated in the Campanhã district of Porto, OLOPO is situated 1 km from Campanha Train Station, 1.3 km from FC Porto Museum and 2 km from Oporto Coliseum.

    The Staff was amazing ,very helpful and very clean.

  • Casinhas no Carolina - Hostel
    9.6
    Scored 9.6
    Exceptional
    Rated exceptional
     · 571 reviews

    Set in Porto, Casinhas no Carolina - Hostel features a garden, shared lounge, terrace, and free WiFi throughout the property.

    Fantastic breakfast, comfy room and very friendly host.

  • Queen's Garden Hostel
    Budget options available
    9.2
    Scored 9.2
    Superb
    Rated superb
     · 420 reviews

    Located in Porto and with Music House reachable within 2.6 km, Queen's Garden Hostel provides a garden, non-smoking rooms, free WiFi throughout the property and a shared lounge.

    Great host, comfy bed, lovely garden, good breakfast

  • Rosalma Hostel
    8.7
    Scored 8.7
    Fabulous
    Rated fabulous
     · 4,188 reviews

    Attractively set in the centre of Porto, Rosalma Hostel features air-conditioned rooms, a garden, free WiFi and a shared lounge.

    This is one of the best hostels I've ever visited.

  • Change The World Hostels - Porto - Santa Catarina
    8.4
    Scored 8.4
    Very good
    Rated very good
     · 1,781 reviews

    Ideally set in the União de Freguesias do Centro district of Porto, Change The World Hostels - Porto - Santa Catarina is situated 700 metres from Sao Bento Metro Station, 700 metres from Sao Bento...

    Peaple, clean, perfect location,evryting is exelent

  • By Doors Hostel
    8.0
    Scored 8.0
    Very good
    Rated very good
     · 1,147 reviews

    Welcome to By Doors Hostel, Porto's paradise where fun meets comfort! Our property is simply charming, located in the heart of Porto, Portugal.

    Everyone was accommodating, the staff were so nice

Great access to the city centre! Check these hostels in Porto

  • Onefam Ribeira
    9.2
    Scored 9.2
    Superb
    Rated superb
     · 1,036 reviews

    Onefam Ribeira is attractively situated in the centre of Porto, and features a shared lounge, free WiFi and a terrace.

    Good place to meet people and the staff were amazing people ❤️ 👏 👏

  • The Passenger Hostel
    9.0
    Scored 9.0
    Superb
    Rated superb
     · 3,051 reviews

    The Passenger Hostel is located in the iconic S. Bento Train Station, within the UNESCO World Heritage area of Porto. It offers private and shared accommodation, a bar and free WiFi access.

    It’s location and a brilliant room for the 3 of us

  • Private Room at Fatima's
    8.9
    Scored 8.9
    Fabulous
    Rated fabulous
     · 493 reviews

    Well situated in the União de Freguesias do Centro district of Porto, Private Room at Fatima's is set 1.2 km from Music House, 1.2 km from Lello Bookshop and 1.3 km from Boavista Roundabout.

    Nice and friendly host. Will come back if I have the chance

  • Porto Spot Hostel
    8.9
    Scored 8.9
    Fabulous
    Rated fabulous
     · 5,024 reviews

    Located in Porto’s city centre, Porto Spot Hostel offers comfortable rooms with free WiFi. It is only a 2-minute walk from the Bolhão Metro Station.

    Good location, friendly staff, clean room, great breakfast.

  • Porto Wine Hostel
    8.8
    Scored 8.8
    Fabulous
    Rated fabulous
     · 1,070 reviews

    Located in front of Clérigos Tower, this modern hostel is decorated in the colours of the famous Port wine. There is a communal kitchen and a living room with cable TV and DVD player.

    Very friendly and kind staff. The room was good too

  • Happy Porto Hostel & Apartments
    8.8
    Scored 8.8
    Fabulous
    Rated fabulous
     · 104 reviews

    The Happy Porto Hostel & Apartments is located in the heart of historic Porto and offers privileged views over the Douro River.

    Hostel staff and guests were very social and friendly

  • Porto Lounge Hostel & Guesthouse by Host Wise
    8.6
    Scored 8.6
    Fabulous
    Rated fabulous
     · 1,344 reviews

    A restored 18th-century building in the historic center, Porto Lounge Hostel offers the necessary comfort for an unforgettable stay in the city of Porto.

    Great location, spacious triple en-suite room, quiet

  • The Central House Porto Ribeira
    8.6
    Scored 8.6
    Fabulous
    Rated fabulous
     · 3,189 reviews

    Attractively situated in Porto, The Central House Porto Ribeira features air-conditioned rooms, a shared lounge, free WiFi and a restaurant.

    amazing decor, perfect location, clean and comfortable

  • Guest House Arca d´'Água
    8.6
    Scored 8.6
    Fabulous
    Rated fabulous
     · 14 reviews

    Featuring a garden, Guest House Arca d´'Água is located in Porto in the Norte Region region, 2.6 km from Music House and 2.7 km from Boavista Roundabout.

  • Nice Way Porto Hostel
    8.5
    Scored 8.5
    Very good
    Rated very good
     · 1,750 reviews

    Located in the historical Aliados area, Nice Way Porto Hostel offers accommodation in downtown Porto, a 3-minute walk from the São Bento Train Station.

    Very social and the staff was very helpful and nice!!

  • Best Guest Porto Hostel
    8.5
    Scored 8.5
    Very good
    Rated very good
     · 3,182 reviews

    Best Guest Porto Hostel is located in a renovated building in the historical centre of Porto, part of the UNESCO World Heritage area.

    Great hostel, would come back again if I come to Porto ☺️

  • Rustico Silent Hostel
    8.5
    Scored 8.5
    Very good
    Rated very good
     · 89 reviews

    Featuring free WiFi and a garden, Rustico Silent Hostel offers accommodation in Porto, 1.1 km from Music House and less than 1 km from Boavista Roundabout.

    La cama era bastante cómoda y estaba todo muy limpio

  • C&f hostel
    8.5
    Scored 8.5
    Very good
    Rated very good
     · 11 reviews

    Boasting a garden, shared lounge and free WiFi, C&f hostel is situated in Porto, 1.1 km from Estadio do Dragao and 1.4 km from FC Porto Museum.

    Ambiente, funcionários, espaço da cozinha muito bom!

  • PILOT Design Hostel & Bar
    8.4
    Scored 8.4
    Very good
    Rated very good
     · 1,297 reviews

    With a 24-hour bar and reception, PILOT Hostel is 6 minutes’ walk from Aliados Metro Station. Facilities include free Wi-Fi and a cinema screen. The terrace has a barbecue, fireplace and waterfall.

    Very friendly staff Great location and great price

  • SUPERNOVA - Hostel & Café
    8.4
    Scored 8.4
    Very good
    Rated very good
     · 2,226 reviews

    Located in Porto historic centre, the SUPERNOVA - Hostel & Café hostel is a 1-minute walk from the central Trindade Metro Station.

    Nice personnel, atmosphere, room was super cozy, clean and safe

  • Porto Hostel Cúpula
    8.4
    Scored 8.4
    Very good
    Rated very good
     · 303 reviews

    Set in Porto and within 1.3 km of Campanha Train Station, Porto Hostel Cúpula features a shared lounge, non-smoking rooms, and free WiFi throughout the property.

    Amazing location, beautiful room and such good value for money.

  • Hostel Alegria
    8.4
    Scored 8.4
    Very good
    Rated very good
     · 748 reviews

    Hostel Alegria is located 2 km from central Aliados Avenue in Porto. The Marquês Metro Station is just 400 metres away. The unit has an ample garden and a terrace.

    Extremely well maintained property and very helpful staff

  • Hostel & cia
    8.4
    Scored 8.4
    Very good
    Rated very good
     · 81 reviews

    Featuring a terrace, Hostel & cia is set in Porto in the Norte Region region, 1.1 km from Estadio do Dragao and 1.4 km from FC Porto Museum.

    Localização boa. Tudo próximo. Lugar com pessoas alegres.

  • Porto Republica Hostel & Suites
    8.2
    Scored 8.2
    Very good
    Rated very good
     · 1,681 reviews

    Conveniently located in central Porto, this hostel has free WiFi throughout. Featuring rooms and dormitories, the unit is just 650 metres from the famed Aliados Avenue.

    Great hosts and room. Clean and professional. 10/10

  • CATS Porto Hostel
    8.2
    Scored 8.2
    Very good
    Rated very good
     · 1,245 reviews

    CATS Porto Hostel is a lively hostel located in central Porto, just 50 metres from the metro and S. Bento train station.

    Perfekt Location Ro stay in Porto. Next visit again.

  • Invictus Hostel
    8.1
    Scored 8.1
    Very good
    Rated very good
     · 1,381 reviews

    Invictus Hostel is the best accommodation option for travelers looking for affordable, convenience, and a prime location in the heart of Porto historical district.

    The location is good and the staff is helpful and friendly.

  • O2 Hostel
    Central location
    8.1
    Scored 8.1
    Very good
    Rated very good
     · 1,360 reviews

    O2 Hostel is a newly-opened unit in Porto, set in a renovated centenary building. The eco-friendly property is base around environmental sustainability and is a 7-minute from central Aliados Avenue.

    great experience. Some fun people. Nothing bad to say.

  • So Cool Hostel Porto
    7.9
    Scored 7.9
    Good
    Rated good
     · 1,630 reviews

    Located within a completely restored 19th-century building, So Cool Hostel Porto offers modern, private and shared accommodation in one of the most central avenues of Porto, Avenida da Boavista.

    The staff’s kindness, and the cleanness of the property !

  • Garden in Town Hostel
    7.9
    Scored 7.9
    Good
    Rated good
     · 2,008 reviews

    Set in Porto, within 1.9 km of Oporto Coliseum and 2.2 km of FC Porto Museum, Garden in Town Hostel offers accommodation with a garden and a shared lounge, and free WiFi throughout the property.

    Very friendly guys at réception with Raf and Sam Confortable beds

  • CoolHostel
    7.7
    Scored 7.7
    Good
    Rated good
     · 1,661 reviews

    Located in a recently restored building from the 1940’s, the CoolHostel is 100 metres from the picturesque Bolhão Market. Free WiFi access is available throughout the property.

    Cool indeed, nice feeling there. Great storage room.

  • Porto Republica Downtown
    7.7
    Scored 7.7
    Good
    Rated good
     · 255 reviews

    Located in Porto, Porto Republica Downtown is a newly renovated building with a typical courtyard. The hostel features modern rooms with a private bathroom, as well as free WiFi in all areas.

    L’emplacement est très bien et la chambre spacieuse

  • Peach Hostel & Suites
    7.6
    Scored 7.6
    Good
    Rated good
     · 1,963 reviews

    Located in Porto and with Campanha Train Station reachable within 500 metres, Peach Hostel & Suites provides a garden, allergy-free rooms, free WiFi throughout the property and a shared lounge.

    Lovely staff. Great location. Comfy bed. Nice Garden. 🌿

  • HI Porto - Pousada de Juventude
    7.4
    Scored 7.4
    Good
    Rated good
     · 3,676 reviews

    Pousada de Juventude do Porto is a youth hostel located in Porto just a 14-minute walk from the Serralves Foundation Gardens. Free WiFi access is available.

    Sunset view over the river Tram to the city centre

FAQ about hostels in Porto







Hostels that guests love in Porto

  • Avg. price/night: £199.71
    8.6
    Scored 8.6
    Fabulous
    Rated fabulous
     · 3,189 reviews
    This hostel nails the essentials: unbeatable location and affordable prices. Perfect for budget-conscious travelers, it's strategically placed for easy city exploration without breaking the bank. Clean, safe, and value-packed – a top choice for those who want quality without the hefty price tag. My stay here was a delightful balance of convenience and cost-effectiveness.
    Vedant
    Solo traveller
  • Avg. price/night: £73.33
    8.4
    Scored 8.4
    Very good
    Rated very good
     · 303 reviews
    The location is 2 mins walk from the metro which provided cheap transport links to every tourist attraction we went to (as well as the airport). The room and bathroom were spotless and the air con was surprisingly quiet. The staff were so friendly, welcoming and accommodating - definitely the best hostel I have ever stayed in (felt more like a hotel!)
    Freya
    People with friends
  • 7.7
    Scored 7.7
    Good
    Rated good
     · 1,661 reviews
    The beds were comfy and bathrooms were really good, great facilities and very clean. It was also quiet so you could get a good night's sleep, seemed to be mainly an older crowd, people doing the Camino de Santiago rather than party, so that was a plus for me. All in all, great value for money, one of the best hostels I've stayed in for the budget range.
    Samantha
    Solo traveller
  • Avg. price/night: £199.71
    8.6
    Scored 8.6
    Fabulous
    Rated fabulous
     · 3,189 reviews
    One of the best hostels in Porto! Comfiest beds with curtains and you didn’t even feel the 10 people in the room because of the layout. Probably not best for solo travellers as meeting people is a bit difficult. The bathrooms were clean! The best thing was the slot machine downstairs for playing games and the live music at the bar! Nice staff, location is top
    Katja
    Solo traveller
  • Avg. price/night: £163.65
    8.1
    Scored 8.1
    Very good
    Rated very good
     · 2,452 reviews
    Best hostel we have stayed in. Central garden & seating area was great particularly when we had a small room it made all the difference. Bedding changed everyday was excellent. Location was fantastic. Reception staff were v polite and helpful but perhaps improved training, didn't go out of their way to find out answers when didn't have info to hand. A welcome drink in price would have been nice. Not the cheapest hostel. We would come back.
    Steven
    Family with young children
  • 8.7
    Scored 8.7
    Fabulous
    Rated fabulous
     · 1,800 reviews
    A definite recommendation! Great location, comfy beds and a beautiful garden - perfect for relax ans meetitng new people :) Privacy in the dorm is fine. The Team - super friendly, helpful and with a "yes" attitude. Available at all times. Felt safe and taken care of. I'm really happy I chose this place for my stay!
    Aga Kwaśna
    Solo traveller
  • Avg. price/night: £70.14
    9.2
    Scored 9.2
    Superb
    Rated superb
     · 420 reviews
    This is the best hostel in Porto. (Trust me I have stayed in way too many hostels in this area.) 1. Bathrooms are very clean. 2. It has a beautiful quite garden. 3. The beds in the dormitory have curtains and good mattresses. 4. The breakfast is included. 5.The locker with the key is free of charge. 6. Good wifi. 7. Free towel! It is located 20 minutes walking from metro Casa Musica. It's definetly not a central location, but it's quite, no tourists, supermarkets are close by and the place is next to the bus stop as well.
    Anna
    Solo traveller
  • 9.0
    Scored 9.0
    Superb
    Rated superb
     · 3,794 reviews
    Bunks were comfortable, private, easy to store items and had charging ports within the bunks. We never had to wait for a shower/toilet to be free as there was always enough. The hostel felt secure and safe with lockers with electronic locks to store personal items. Rooftop bar was incredible! Cheap drinks and live dj music was so much fun. Breakfast included was a nice addition to assist with saving for more important travel experiences.
    Olivia
    Young couple
  • Avg. price/night: £133.96
    9.2
    Scored 9.2
    Superb
    Rated superb
     · 1,036 reviews
    Great location, staff extremelly friendly and helpful and one of the best hostel in terms of socializing. they have a lot of activities that make easier to do so. Nice rooms, always clean and with good sheets. Cheap prices for drinks.
    Renan
    Solo traveller
  • Avg. price/night: £163.65
    8.1
    Scored 8.1
    Very good
    Rated very good
     · 2,452 reviews
    The hostel has a really cool bar/patio in the middle so the rooms all look onto it. I enjoyed that this was a restaurant open to the general public so it felt like you were mixing with locals not just backpackers. The staff were really friendly and the wine was cheap! Super affordable and a great location.
    scarlet
    Young couple

Research, refine and make plans for your whole trip