Boris Johnson has met Emmanuel Macron in Paris for Brexit talks, with the French president saying the UK's vote to quit the EU must be respected, reports BBC News.
But he added that the Ireland-Northern Ireland backstop plan was "indispensable" to preserving political stability and the single market.
The backstop, opposed by Mr Johnson, aims to prevent a hard border on the island of Ireland after Brexit.
Mr Johnson said that with "energy and creativity we can find a way forward".
On Wednesday German Chancellor Angela Merkel said the onus was on the UK to find a workable plan.
UK Prime Minister Mr Johnson insists the backstop must be ditched if a no-deal exit from the EU on October 31st is to be avoided.
He argues that it could leave the UK tied to the EU indefinitely, contrary to the result of the 2016 referendum, in which 52% of voters opted to leave.
But the EU has repeatedly said the withdrawal deal negotiated by former PM Theresa May, which includes the backstop, cannot be renegotiated.
However, it has previously said it would be willing to "improve" the political declaration - the document that sets out the UK's future relationship with the EU.
Speaking after he greeted Mr Johnson at Paris's Elysee Palace, Mr Macron said he was "very confident" that the UK and EU would be able to find a solution within 30 days - a timetable suggested by Mrs Merkel - "if there is a good will on both sides".
He said it would not be possible to find a new withdrawal agreement "very different from the existing one" within that time, but added that an answer could be reached "without reshuffling" the current deal.
Mr Macron also denied that he was the "hard boy in the band", following suggestions that he would be tougher on the UK than his German counterpart.
Standing beside Mr Macron, Mr Johnson said he had been "powerfully encouraged" by his conversations with Mrs Merkel in Berlin on Wednesday.
He emphasised his desire for a deal with the EU but added that it was "vital for trust in politics" that the UK left the EU on 31 October.
He also said that "under no circumstances" would the UK put checks or controls on the Ireland-UK border.
The two leaders ate lunch, drank coffee and walked through the Elysée gardens together during their talks, which lasted just under two hours. Mr Johnson then left to fly back to the UK.
If implemented, the backstop would see Northern Ireland staying aligned to some rules of the EU single market, should the UK and the EU not agree a trade deal after Brexit.
It would also see the UK stay in a single customs territory with the EU, and align with current and future EU rules on competition and state aid.
These arrangements would apply until both the EU and UK agreed they were no longer necessary.
Mrs Merkel has argued that the withdrawal agreement does not need to be reopened if a practical solution to the backstop crisis can be found.
Brexit is due to happen on October 31st, with no deal being the default option. The prime minister has said he wants to leave the EU with a deal, but that the UK would be ready if none is reached.